POST api/CarbonfootPrint/EndOfDay
Request Information
URI Parameters
None.
Body Parameters
EndOfDayModelName | Description | Type | Additional information |
---|---|---|---|
SourceId | string |
None. |
|
DeviceId | string |
None. |
|
Message | string |
None. |
|
Latitude | string |
None. |
|
Longitude | string |
None. |
|
EODSwiped | boolean |
None. |
|
CreatedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "SourceId": "sample string 1", "DeviceId": "sample string 2", "Message": "sample string 3", "Latitude": "sample string 4", "Longitude": "sample string 5", "EODSwiped": true, "CreatedOn": "2025-05-17T00:28:01.6132838Z" }
text/html
Sample:
{"SourceId":"sample string 1","DeviceId":"sample string 2","Message":"sample string 3","Latitude":"sample string 4","Longitude":"sample string 5","EODSwiped":true,"CreatedOn":"2025-05-17T00:28:01.6132838Z"}
application/xml, text/xml
Sample:
<EndOfDayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.EndOfDay"> <CreatedOn>2025-05-17T00:28:01.6132838Z</CreatedOn> <DeviceId>sample string 2</DeviceId> <EODSwiped>true</EODSwiped> <Latitude>sample string 4</Latitude> <Longitude>sample string 5</Longitude> <Message>sample string 3</Message> <SourceId>sample string 1</SourceId> </EndOfDayModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CarbonFootPrintBaseResponseModelOfStringName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
errors | string |
None. |
|
result | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "errors": "sample string 3", "result": "sample string 4" }
text/html
Sample:
{"isSuccess":true,"message":"sample string 2","errors":"sample string 3","result":"sample string 4"}
application/xml, text/xml
Sample:
<CarbonFootPrintBaseResponseModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.CarbonFootPrintModels"> <errors>sample string 3</errors> <isSuccess>true</isSuccess> <message>sample string 2</message> <result>sample string 4</result> </CarbonFootPrintBaseResponseModelOfstring>