POST api/ImportLicenceAmend/Update

Request Information

URI Parameters

None.

Body Parameters

ImportLicenceAmendViewModel
NameDescriptionTypeAdditional information
Id

string

None.

ImportLicenceId

string

None.

IsSellerName

boolean

None.

IsSellerAddress

boolean

None.

IsSellerCountryId

boolean

None.

IsPortofDischargeId

boolean

None.

IsModeofTransport

boolean

None.

IsExportImportMethodId

boolean

None.

IsConsignedCountryId

boolean

None.

IsCountryofOriginId

boolean

None.

IsExportImportIncotermId

boolean

None.

IsCommodityType

boolean

None.

IsUsage

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "ImportLicenceId": "sample string 2",
  "IsSellerName": true,
  "IsSellerAddress": true,
  "IsSellerCountryId": true,
  "IsPortofDischargeId": true,
  "IsModeofTransport": true,
  "IsExportImportMethodId": true,
  "IsConsignedCountryId": true,
  "IsCountryofOriginId": true,
  "IsExportImportIncotermId": true,
  "IsCommodityType": true,
  "IsUsage": true
}

application/xml, text/xml

Sample:
<ImportLicenceAmendViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Id>sample string 1</Id>
  <ImportLicenceId>sample string 2</ImportLicenceId>
  <IsCommodityType>true</IsCommodityType>
  <IsConsignedCountryId>true</IsConsignedCountryId>
  <IsCountryofOriginId>true</IsCountryofOriginId>
  <IsExportImportIncotermId>true</IsExportImportIncotermId>
  <IsExportImportMethodId>true</IsExportImportMethodId>
  <IsModeofTransport>true</IsModeofTransport>
  <IsPortofDischargeId>true</IsPortofDischargeId>
  <IsSellerAddress>true</IsSellerAddress>
  <IsSellerCountryId>true</IsSellerCountryId>
  <IsSellerName>true</IsSellerName>
  <IsUsage>true</IsUsage>
</ImportLicenceAmendViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ImportLicenceAmendViewModel'.

Response Information

Resource Description

Collection of ResponseMessage
NameDescriptionTypeAdditional 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>