POST api/ExportLicenceAmend/Save
Request Information
URI Parameters
None.
Body Parameters
ExportLicenceAmendViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| ExportLicenceId | string |
None. |
|
| IsBuyerName | boolean |
None. |
|
| IsBuyerAddress | boolean |
None. |
|
| IsBuyerCountryId | boolean |
None. |
|
| IsPortofExportId | boolean |
None. |
|
| IsPortofDischarge | boolean |
None. |
|
| IsModeofTransport | boolean |
None. |
|
| IsExportImportMethodId | boolean |
None. |
|
| IsCountryofOriginId | boolean |
None. |
|
| IsConsignedCountryId | boolean |
None. |
|
| IsDestinationCountryId | boolean |
None. |
|
| IsExportImportIncotermId | boolean |
None. |
|
| IsCommodityType | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"ExportLicenceId": "sample string 2",
"IsBuyerName": true,
"IsBuyerAddress": true,
"IsBuyerCountryId": true,
"IsPortofExportId": true,
"IsPortofDischarge": true,
"IsModeofTransport": true,
"IsExportImportMethodId": true,
"IsCountryofOriginId": true,
"IsConsignedCountryId": true,
"IsDestinationCountryId": true,
"IsExportImportIncotermId": true,
"IsCommodityType": true
}
application/xml, text/xml
Sample:
<ExportLicenceAmendViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <ExportLicenceId>sample string 2</ExportLicenceId> <Id>sample string 1</Id> <IsBuyerAddress>true</IsBuyerAddress> <IsBuyerCountryId>true</IsBuyerCountryId> <IsBuyerName>true</IsBuyerName> <IsCommodityType>true</IsCommodityType> <IsConsignedCountryId>true</IsConsignedCountryId> <IsCountryofOriginId>true</IsCountryofOriginId> <IsDestinationCountryId>true</IsDestinationCountryId> <IsExportImportIncotermId>true</IsExportImportIncotermId> <IsExportImportMethodId>true</IsExportImportMethodId> <IsModeofTransport>true</IsModeofTransport> <IsPortofDischarge>true</IsPortofDischarge> <IsPortofExportId>true</IsPortofExportId> </ExportLicenceAmendViewModel>
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>