POST api/truckoftheday/savetruckoftheday?originator={originator}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| originator | string |
Required |
Body Parameters
Collection of TruckOfDayModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EquipCode | string |
None. |
|
| ForDate | date |
None. |
|
| LastChanged | date |
None. |
|
| LastChangedBy | string |
None. |
|
| Sel | integer |
None. |
|
| TruckType | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"EquipCode": "sample string 1",
"ForDate": "2025-11-24T05:50:32.536873+11:00",
"LastChanged": "2025-11-24T05:50:32.536873+11:00",
"LastChangedBy": "sample string 4",
"Sel": 5,
"TruckType": "sample string 6"
},
{
"EquipCode": "sample string 1",
"ForDate": "2025-11-24T05:50:32.536873+11:00",
"LastChanged": "2025-11-24T05:50:32.536873+11:00",
"LastChangedBy": "sample string 4",
"Sel": 5,
"TruckType": "sample string 6"
}
]
text/xml
Sample:
<ArrayOfTruckOfDayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.Model">
<TruckOfDayModel>
<EquipCode>sample string 1</EquipCode>
<ForDate>2025-11-24T05:50:32.536873+11:00</ForDate>
<LastChanged>2025-11-24T05:50:32.536873+11:00</LastChanged>
<LastChangedBy>sample string 4</LastChangedBy>
<Sel>5</Sel>
<TruckType>sample string 6</TruckType>
</TruckOfDayModel>
<TruckOfDayModel>
<EquipCode>sample string 1</EquipCode>
<ForDate>2025-11-24T05:50:32.536873+11:00</ForDate>
<LastChanged>2025-11-24T05:50:32.536873+11:00</LastChanged>
<LastChangedBy>sample string 4</LastChangedBy>
<Sel>5</Sel>
<TruckType>sample string 6</TruckType>
</TruckOfDayModel>
</ArrayOfTruckOfDayModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |