POST api/MotorTruck/Insert
Insert/Update motor truck cargo.
Request Information
URI Parameters
None.
Body Parameters
MotorTruckCargoData| Name | Description | Type | Additional information |
|---|---|---|---|
| DatabaseId | globally unique identifier |
None. |
|
| CommoditiesHauled | string |
None. |
|
| Hazardous | boolean |
None. |
|
| AverageValue | decimal number |
None. |
|
| MaximumValue | decimal number |
None. |
|
| PercentOfRevenue | decimal number |
None. |
|
| InsuredDatabaseId | globally unique identifier |
None. |
|
| InsuredEmail | string |
None. |
|
| InsuredFirstName | string |
None. |
|
| InsuredLastName | string |
None. |
|
| InsuredCommercialName | string |
None. |
|
| CreateDate | date |
None. |
|
| ChangeDate | date |
None. |
|
| Active | boolean |
None. |
|
| Policies | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"databaseId": "dfb885d2-da24-49d3-85fc-110d57030d25",
"commoditiesHauled": "sample string 2",
"hazardous": true,
"averageValue": 1.0,
"maximumValue": 1.0,
"percentOfRevenue": 1.0,
"insuredDatabaseId": "88b1e011-7db6-41f9-baa8-688a8a2df9c8",
"insuredEmail": "sample string 3",
"insuredFirstName": "sample string 4",
"insuredLastName": "sample string 5",
"insuredCommercialName": "sample string 6",
"createDate": "2025-11-22T11:21:47.2451498-06:00",
"changeDate": "2025-11-22T11:21:47.2451498-06:00",
"active": true,
"policies": [
"bc0e94e5-6529-4a4b-8d47-83bf3d0569d0",
"3bf4bd97-b2b6-401f-b805-e6b7beb2e14c"
]
}
application/xml, text/xml
Sample:
<MotorTruckCargoData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
<Active>true</Active>
<AverageValue>1</AverageValue>
<ChangeDate>2025-11-22T11:21:47.2451498-06:00</ChangeDate>
<CommoditiesHauled>sample string 2</CommoditiesHauled>
<CreateDate>2025-11-22T11:21:47.2451498-06:00</CreateDate>
<DatabaseId>dfb885d2-da24-49d3-85fc-110d57030d25</DatabaseId>
<Hazardous>true</Hazardous>
<InsuredCommercialName>sample string 6</InsuredCommercialName>
<InsuredDatabaseId>88b1e011-7db6-41f9-baa8-688a8a2df9c8</InsuredDatabaseId>
<InsuredEmail>sample string 3</InsuredEmail>
<InsuredFirstName>sample string 4</InsuredFirstName>
<InsuredLastName>sample string 5</InsuredLastName>
<MaximumValue>1</MaximumValue>
<PercentOfRevenue>1</PercentOfRevenue>
<Policies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bc0e94e5-6529-4a4b-8d47-83bf3d0569d0</d2p1:guid>
<d2p1:guid>3bf4bd97-b2b6-401f-b805-e6b7beb2e14c</d2p1:guid>
</Policies>
</MotorTruckCargoData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithDatabaseId| Name | Description | Type | Additional information |
|---|---|---|---|
| DatabaseId | globally unique identifier |
None. |
|
| Status | ApiStatus |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"databaseId": "77ff5915-2bff-41fa-b870-f55f8cbd32f5",
"status": 0,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum"> <Message>sample string 2</Message> <Status>Error</Status> <DatabaseId>77ff5915-2bff-41fa-b870-f55f8cbd32f5</DatabaseId> </NowCertsApiResultWithDatabaseId>