POST api/Order

Request Information

URI Parameters

None.

Body Parameters

Order
NameDescriptionTypeAdditional information
id

integer

None.

book_id

integer

None.

account_id

integer

None.

created_date

date

None.

amount

integer

None.

media_type

integer

None.

status

integer

None.

trans_id

string

None.

response_trans_id

string

None.

book_name

string

None.

card_code

string

None.

category_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "book_id": 2,
  "account_id": 3,
  "created_date": "2021-03-08T03:31:28.7392984+07:00",
  "amount": 5,
  "media_type": 6,
  "status": 7,
  "trans_id": "sample string 8",
  "response_trans_id": "sample string 9",
  "book_name": "sample string 10",
  "card_code": "sample string 11",
  "category_id": 12
}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/uBase.DataAccess.Model">
  <account_id>3</account_id>
  <amount>5</amount>
  <book_id>2</book_id>
  <book_name>sample string 10</book_name>
  <card_code>sample string 11</card_code>
  <category_id>12</category_id>
  <created_date>2021-03-08T03:31:28.7392984+07:00</created_date>
  <id>1</id>
  <media_type>6</media_type>
  <response_trans_id>sample string 9</response_trans_id>
  <status>7</status>
  <trans_id>sample string 8</trans_id>
</Order>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.