POST api/CargoType/Save

Request Information

URI Parameters

None.

Body Parameters

cargoType
NameDescriptionTypeAdditional information
id

integer

None.

cargoTypeName

string

None.

created

date

None.

createdBy

string

None.

updated

date

None.

updatedBy

string

None.

status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cargoTypeName": "sample string 2",
  "created": "2025-12-06T10:12:42.1922856+05:30",
  "createdBy": "sample string 3",
  "updated": "2025-12-06T10:12:42.1922856+05:30",
  "updatedBy": "sample string 4",
  "status": true
}

application/xml, text/xml

Sample:
<cargoType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Committed_API">
  <cargoTypeName>sample string 2</cargoTypeName>
  <created>2025-12-06T10:12:42.1922856+05:30</created>
  <createdBy>sample string 3</createdBy>
  <id>1</id>
  <status>true</status>
  <updated>2025-12-06T10:12:42.1922856+05:30</updated>
  <updatedBy>sample string 4</updatedBy>
</cargoType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.