POST api/Inbound/SaveAdditionalDeclarations
Request Information
URI Parameters
None.
Body Parameters
SaveAdditionalDeclarationsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationId | Object |
None. |
|
| WorkingPassageSpecified | boolean |
None. |
|
| WorkingPassageNames | string |
None. |
|
| DischargeCrewSpecified | boolean |
None. |
|
| DischargeCrewCount | integer |
None. |
|
| EngageCrewSpecified | boolean |
None. |
|
| EngageCrewCount | integer |
None. |
|
| EngageSeamenSpecified | boolean |
None. |
|
| EngageSeamenCount | string |
None. |
|
| CargoGeneralTons | decimal number |
None. |
|
| CargoBauxiteTons | decimal number |
None. |
|
| CargoExplosivesTons | decimal number |
None. |
|
| CargoLivestockHeads | integer |
None. |
|
| IntransitCargoTons | decimal number |
None. |
|
| CargoToBeTranshippedTons | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"notificationId": {},
"workingPassageSpecified": true,
"workingPassageNames": "sample string 2",
"dischargeCrewSpecified": true,
"dischargeCrewCount": 1,
"engageCrewSpecified": true,
"engageCrewCount": 1,
"engageSeamenSpecified": true,
"engageSeamenCount": "sample string 3",
"cargoGeneralTons": 1.0,
"cargoBauxiteTons": 1.0,
"cargoExplosivesTons": 1.0,
"cargoLivestockHeads": 1,
"intransitCargoTons": 1.0,
"cargoToBeTranshippedTons": 1.0
}
multipart/form-data, application/octet-stream
Sample:
{"notificationId":{},"workingPassageSpecified":true,"workingPassageNames":"sample string 2","dischargeCrewSpecified":true,"dischargeCrewCount":1,"engageCrewSpecified":true,"engageCrewCount":1,"engageSeamenSpecified":true,"engageSeamenCount":"sample string 3","cargoGeneralTons":1.0,"cargoBauxiteTons":1.0,"cargoExplosivesTons":1.0,"cargoLivestockHeads":1,"intransitCargoTons":1.0,"cargoToBeTranshippedTons":1.0}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| Msg | Object |
None. |
|
| token | Object |
None. |
|
| Data | Object |
None. |
|
| PageNo | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {},
"pageNo": 1,
"pageSize": 1,
"totalCount": 1
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{},"pageNo":1,"pageSize":1,"totalCount":1}