POST api/IndividualTradingRegistrationAmend/Update

Request Information

URI Parameters

None.

Body Parameters

IndividualTradingRegistrationAmendViewModel
NameDescriptionTypeAdditional information
Id

string

None.

IndividualTradingRegistrationId

string

None.

IsName

boolean

None.

IsNRC

boolean

None.

IsOldNRC

boolean

None.

IsFatherName

boolean

None.

IsDateofBirth

boolean

None.

IsUnitLevel

boolean

None.

IsStreetNumberStreetName

boolean

None.

IsQuarterCityTownship

boolean

None.

IsState

boolean

None.

IsCountry

boolean

None.

IsPostalCode

boolean

None.

IsMobile1

boolean

None.

IsMobile2

boolean

None.

IsMobile3

boolean

None.

IsFax

boolean

None.

IsEmail

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "IndividualTradingRegistrationId": "sample string 2",
  "IsName": true,
  "IsNRC": true,
  "IsOldNRC": true,
  "IsFatherName": true,
  "IsDateofBirth": true,
  "IsUnitLevel": true,
  "IsStreetNumberStreetName": true,
  "IsQuarterCityTownship": true,
  "IsState": true,
  "IsCountry": true,
  "IsPostalCode": true,
  "IsMobile1": true,
  "IsMobile2": true,
  "IsMobile3": true,
  "IsFax": true,
  "IsEmail": true
}

application/xml, text/xml

Sample:
<IndividualTradingRegistrationAmendViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Id>sample string 1</Id>
  <IndividualTradingRegistrationId>sample string 2</IndividualTradingRegistrationId>
  <IsCountry>true</IsCountry>
  <IsDateofBirth>true</IsDateofBirth>
  <IsEmail>true</IsEmail>
  <IsFatherName>true</IsFatherName>
  <IsFax>true</IsFax>
  <IsMobile1>true</IsMobile1>
  <IsMobile2>true</IsMobile2>
  <IsMobile3>true</IsMobile3>
  <IsNRC>true</IsNRC>
  <IsName>true</IsName>
  <IsOldNRC>true</IsOldNRC>
  <IsPostalCode>true</IsPostalCode>
  <IsQuarterCityTownship>true</IsQuarterCityTownship>
  <IsState>true</IsState>
  <IsStreetNumberStreetName>true</IsStreetNumberStreetName>
  <IsUnitLevel>true</IsUnitLevel>
</IndividualTradingRegistrationAmendViewModel>

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

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>