POST api/PreClearanceSetup/PreClearanceSetupSave

Request Information

URI Parameters

None.

Body Parameters

PreClearanceMaster
NameDescriptionTypeAdditional 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-05-08T02:47:59.2760613-07:00",
  "toDate": "2025-05-08T02:47:59.2760613-07:00",
  "allowPreClearance": true,
  "createdBy": 1,
  "createdOn": "2025-05-08T02:47:59.2760613-07:00",
  "createdMachineIP": "sample string 5",
  "updatedBy": 1,
  "updatedOn": "2025-05-08T02:47:59.2760613-07: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-05-08T02:47:59.2760613-07:00","toDate":"2025-05-08T02:47:59.2760613-07:00","allowPreClearance":true,"createdBy":1,"createdOn":"2025-05-08T02:47:59.2760613-07:00","createdMachineIP":"sample string 5","updatedBy":1,"updatedOn":"2025-05-08T02:47:59.2760613-07: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
NameDescriptionTypeAdditional 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":{}}