POST api/BorderImportPermitAmend/Update
Request Information
URI Parameters
None.
Body Parameters
BorderImportPermitAmendViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| BorderImportPermitId | string |
None. |
|
| IsOldNRC | boolean |
None. |
|
| IsNRC | boolean |
None. |
|
| IsPassportNo | boolean |
None. |
|
| IsAuthorisedAgentName | boolean |
None. |
|
| IsAuthorisedAgentAddress | boolean |
None. |
|
| IsSellerCountryId | boolean |
None. |
|
| IsPortofShipmentId | boolean |
None. |
|
| IsCountryofOriginId | boolean |
None. |
|
| IsPortofDischargeId | boolean |
None. |
|
| IsPermitType | boolean |
None. |
|
| IsCommodityType | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"BorderImportPermitId": "sample string 2",
"IsOldNRC": true,
"IsNRC": true,
"IsPassportNo": true,
"IsAuthorisedAgentName": true,
"IsAuthorisedAgentAddress": true,
"IsSellerCountryId": true,
"IsPortofShipmentId": true,
"IsCountryofOriginId": true,
"IsPortofDischargeId": true,
"IsPermitType": true,
"IsCommodityType": true
}
application/xml, text/xml
Sample:
<BorderImportPermitAmendViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <BorderImportPermitId>sample string 2</BorderImportPermitId> <Id>sample string 1</Id> <IsAuthorisedAgentAddress>true</IsAuthorisedAgentAddress> <IsAuthorisedAgentName>true</IsAuthorisedAgentName> <IsCommodityType>true</IsCommodityType> <IsCountryofOriginId>true</IsCountryofOriginId> <IsNRC>true</IsNRC> <IsOldNRC>true</IsOldNRC> <IsPassportNo>true</IsPassportNo> <IsPermitType>true</IsPermitType> <IsPortofDischargeId>true</IsPortofDischargeId> <IsPortofShipmentId>true</IsPortofShipmentId> <IsSellerCountryId>true</IsSellerCountryId> </BorderImportPermitAmendViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| ReferenceNo | string |
None. |
|
| WholeSaleRegistrationId | string |
None. |
|
| MessageType | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"ReferenceNo": "sample string 2",
"WholeSaleRegistrationId": "sample string 3",
"MessageType": 4,
"Message": "sample string 5"
},
{
"Id": "sample string 1",
"ReferenceNo": "sample string 2",
"WholeSaleRegistrationId": "sample string 3",
"MessageType": 4,
"Message": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<ResponseMessage>
<Id>sample string 1</Id>
<Message>sample string 5</Message>
<MessageType>4</MessageType>
<ReferenceNo>sample string 2</ReferenceNo>
<WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
</ResponseMessage>
<ResponseMessage>
<Id>sample string 1</Id>
<Message>sample string 5</Message>
<MessageType>4</MessageType>
<ReferenceNo>sample string 2</ReferenceNo>
<WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
</ResponseMessage>
</ArrayOfResponseMessage>