POST api/MotorTruck/Insert
Insert/Update motor truck cargo.
Request Information
URI Parameters
None.
Body Parameters
MotorTruckCargoDataName | 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": "6f324275-e0e9-45fe-8b93-f74f94f24d2a", "commoditiesHauled": "sample string 2", "hazardous": true, "averageValue": 1.0, "maximumValue": 1.0, "percentOfRevenue": 1.0, "insuredDatabaseId": "0df91a65-3514-44d3-a371-e5c96d12715c", "insuredEmail": "sample string 3", "insuredFirstName": "sample string 4", "insuredLastName": "sample string 5", "insuredCommercialName": "sample string 6", "createDate": "2025-03-31T11:48:07.1915376-05:00", "changeDate": "2025-03-31T11:48:07.1915376-05:00", "active": true, "policies": [ "7ddc9a5c-631d-436c-97dd-1b6f047be560", "dfd29460-3e05-4598-9ee1-f5e73206554f" ] }
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-03-31T11:48:07.1915376-05:00</ChangeDate> <CommoditiesHauled>sample string 2</CommoditiesHauled> <CreateDate>2025-03-31T11:48:07.1915376-05:00</CreateDate> <DatabaseId>6f324275-e0e9-45fe-8b93-f74f94f24d2a</DatabaseId> <Hazardous>true</Hazardous> <InsuredCommercialName>sample string 6</InsuredCommercialName> <InsuredDatabaseId>0df91a65-3514-44d3-a371-e5c96d12715c</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>7ddc9a5c-631d-436c-97dd-1b6f047be560</d2p1:guid> <d2p1:guid>dfd29460-3e05-4598-9ee1-f5e73206554f</d2p1:guid> </Policies> </MotorTruckCargoData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
NowCertsApiResultWithDatabaseIdName | Description | Type | Additional information |
---|---|---|---|
DatabaseId | globally unique identifier |
None. |
|
Status | ApiStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "databaseId": "bd7312e3-c1bf-4b3c-ab80-34cf6c6f62df", "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>bd7312e3-c1bf-4b3c-ab80-34cf6c6f62df</DatabaseId> </NowCertsApiResultWithDatabaseId>