POST api/WineImportationRegistrationAmend/Update

Request Information

URI Parameters

None.

Body Parameters

WineImportationRegistrationAmendViewModel
NameDescriptionTypeAdditional information
Id

string

None.

WineImportationRegistrationId

string

None.

IsName

boolean

None.

IsNRC

boolean

None.

IsOldNRC

boolean

None.

IsIsFL11

boolean

None.

IsFL11Name

boolean

None.

IsFL11NRC

boolean

None.

IsFL11OldNRC

boolean

None.

IsFL11LicenceValidDate

boolean

None.

IsIsFL4

boolean

None.

IsFL4Name

boolean

None.

IsFL4NRC

boolean

None.

IsFL4OldNRC

boolean

None.

IsFL4LicenceValidDate

boolean

None.

IsIsFL5

boolean

None.

IsFL5Name

boolean

None.

IsFL5NRC

boolean

None.

IsFL5OldNRC

boolean

None.

IsFL5LicenceValidDate

boolean

None.

IsBusinessTypeId

boolean

None.

IsWineTypeId

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "WineImportationRegistrationId": "sample string 2",
  "IsName": true,
  "IsNRC": true,
  "IsOldNRC": true,
  "IsIsFL11": true,
  "IsFL11Name": true,
  "IsFL11NRC": true,
  "IsFL11OldNRC": true,
  "IsFL11LicenceValidDate": true,
  "IsIsFL4": true,
  "IsFL4Name": true,
  "IsFL4NRC": true,
  "IsFL4OldNRC": true,
  "IsFL4LicenceValidDate": true,
  "IsIsFL5": true,
  "IsFL5Name": true,
  "IsFL5NRC": true,
  "IsFL5OldNRC": true,
  "IsFL5LicenceValidDate": true,
  "IsBusinessTypeId": true,
  "IsWineTypeId": true
}

application/xml, text/xml

Sample:
<WineImportationRegistrationAmendViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Id>sample string 1</Id>
  <IsBusinessTypeId>true</IsBusinessTypeId>
  <IsFL11LicenceValidDate>true</IsFL11LicenceValidDate>
  <IsFL11NRC>true</IsFL11NRC>
  <IsFL11Name>true</IsFL11Name>
  <IsFL11OldNRC>true</IsFL11OldNRC>
  <IsFL4LicenceValidDate>true</IsFL4LicenceValidDate>
  <IsFL4NRC>true</IsFL4NRC>
  <IsFL4Name>true</IsFL4Name>
  <IsFL4OldNRC>true</IsFL4OldNRC>
  <IsFL5LicenceValidDate>true</IsFL5LicenceValidDate>
  <IsFL5NRC>true</IsFL5NRC>
  <IsFL5Name>true</IsFL5Name>
  <IsFL5OldNRC>true</IsFL5OldNRC>
  <IsIsFL11>true</IsIsFL11>
  <IsIsFL4>true</IsIsFL4>
  <IsIsFL5>true</IsIsFL5>
  <IsNRC>true</IsNRC>
  <IsName>true</IsName>
  <IsOldNRC>true</IsOldNRC>
  <IsWineTypeId>true</IsWineTypeId>
  <WineImportationRegistrationId>sample string 2</WineImportationRegistrationId>
</WineImportationRegistrationAmendViewModel>

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 'WineImportationRegistrationAmendViewModel'.

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>