POST api/Admin/GiftMessage?ID={ID}&OrderID={OrderID}&OnlineOrderID={OnlineOrderID}&Message={Message}&Sequence={Sequence}

Creates a new gift message

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

integer

None.

OrderID

integer

None.

OnlineOrderID

integer

None.

Message

string

None.

Sequence

integer

None.

Body Parameters

None.

Request Formats

application/xml, text/xml

Sample:
<OrdersGiftMessage>
  <ID>0</ID>
  <OrderID />
  <OnlineOrderID />
  <Message />
  <Sequence>0</Sequence>
</OrdersGiftMessage>

application/json, text/json

Sample:
{
  "ID": 0,
  "Sequence": 0
}

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IOperationResult
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ValidationErrors

Dictionary of string [key] and string [value]

None.

Value

Object

None.

Response Formats

application/xml, text/xml

Sample:
<OperationResult>
  <IsSuccessful>False</IsSuccessful>
  <ValidationErrors />
  <Value />
</OperationResult>

application/json, text/json

Sample:
{
  "IsSuccessful": false,
  "ValidationErrors": {}
}