POST api/ShowRoomRegistration/SendMessage

Request Information

URI Parameters

None.

Body Parameters

CheckApproveViewModel
NameDescriptionTypeAdditional information
TransactionId

string

None.

UserId

integer

None.

Remark

string

None.

TraderMessage

string

None.

IsLicenceFree

boolean

None.

IsLastDate

boolean

None.

sLastDate

string

None.

IsSuspension

boolean

None.

remark1

integer

None.

remark2

integer

None.

onGoing1

boolean

None.

onGoing2

boolean

None.

IsRemark

boolean

None.

AmendRemarkId

integer

None.

OtherRemark

string

None.

OtherAuthority

string

None.

IsSpecial

boolean

None.

SpecialExtensionPeriod

integer

None.

TINNo

string

None.

DecisionDate

string

None.

DecisionCodeId

integer

None.

IsEICCSubmit

boolean

None.

EICCNoId

integer

None.

sEICCDate

string

None.

ProductGroupId

integer

None.

ProductItemId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionId": "sample string 1",
  "UserId": 2,
  "Remark": "sample string 3",
  "TraderMessage": "sample string 4",
  "IsLicenceFree": true,
  "IsLastDate": true,
  "sLastDate": "sample string 6",
  "IsSuspension": true,
  "remark1": 8,
  "remark2": 9,
  "onGoing1": true,
  "onGoing2": true,
  "IsRemark": true,
  "AmendRemarkId": 13,
  "OtherRemark": "sample string 14",
  "OtherAuthority": "sample string 15",
  "IsSpecial": true,
  "SpecialExtensionPeriod": 17,
  "TINNo": "sample string 18",
  "DecisionDate": "sample string 19",
  "DecisionCodeId": 20,
  "IsEICCSubmit": true,
  "EICCNoId": 22,
  "sEICCDate": "sample string 23",
  "ProductGroupId": 24,
  "ProductItemId": 25
}

application/xml, text/xml

Sample:
<CheckApproveViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <AmendRemarkId>13</AmendRemarkId>
  <DecisionCodeId>20</DecisionCodeId>
  <DecisionDate>sample string 19</DecisionDate>
  <EICCNoId>22</EICCNoId>
  <IsEICCSubmit>true</IsEICCSubmit>
  <IsLastDate>true</IsLastDate>
  <IsLicenceFree>true</IsLicenceFree>
  <IsRemark>true</IsRemark>
  <IsSpecial>true</IsSpecial>
  <IsSuspension>true</IsSuspension>
  <OtherAuthority>sample string 15</OtherAuthority>
  <OtherRemark>sample string 14</OtherRemark>
  <ProductGroupId>24</ProductGroupId>
  <ProductItemId>25</ProductItemId>
  <Remark>sample string 3</Remark>
  <SpecialExtensionPeriod>17</SpecialExtensionPeriod>
  <TINNo>sample string 18</TINNo>
  <TraderMessage>sample string 4</TraderMessage>
  <TransactionId>sample string 1</TransactionId>
  <UserId>2</UserId>
  <onGoing1>true</onGoing1>
  <onGoing2>true</onGoing2>
  <remark1>8</remark1>
  <remark2>9</remark2>
  <sEICCDate>sample string 23</sEICCDate>
  <sLastDate>sample string 6</sLastDate>
</CheckApproveViewModel>

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

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>