POST api/PreClearanceSetup/PreClearanceSetupSave
Request Information
URI Parameters
None.
Body Parameters
PreClearanceMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| PreClearanceSetupId | integer |
None. |
|
| CountryId | integer |
None. |
|
| PortId | integer |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| AllowPreClearance | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedMachineIP | string |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedMachineIP | string |
None. |
|
| countryName | string |
None. |
|
| portName | string |
None. |
|
| isAllowPreClerance | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"preClearanceSetupId": 1,
"countryId": 2,
"portId": 3,
"fromDate": "2025-12-15T08:51:41.1821854-08:00",
"toDate": "2025-12-15T08:51:41.1821854-08:00",
"allowPreClearance": true,
"createdBy": 1,
"createdOn": "2025-12-15T08:51:41.1821854-08:00",
"createdMachineIP": "sample string 5",
"updatedBy": 1,
"updatedOn": "2025-12-15T08:51:41.1821854-08:00",
"updatedMachineIP": "sample string 6",
"countryName": "sample string 7",
"portName": "sample string 8",
"isAllowPreClerance": "sample string 9"
}
multipart/form-data, application/octet-stream
Sample:
{"preClearanceSetupId":1,"countryId":2,"portId":3,"fromDate":"2025-12-15T08:51:41.1821854-08:00","toDate":"2025-12-15T08:51:41.1821854-08:00","allowPreClearance":true,"createdBy":1,"createdOn":"2025-12-15T08:51:41.1821854-08:00","createdMachineIP":"sample string 5","updatedBy":1,"updatedOn":"2025-12-15T08:51:41.1821854-08:00","updatedMachineIP":"sample string 6","countryName":"sample string 7","portName":"sample string 8","isAllowPreClerance":"sample string 9"}
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. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {}
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{}}