POST api/v1/place_order

Request Information

URI Parameters

None.

Body Parameters

product_place_order
NameDescriptionTypeAdditional information
student_no

string

None.

user_id

integer

None.

product_id

integer

None.

billing_type

string

None.

payment_term_id

string

None.

with_book

boolean

None.

with_gst

boolean

None.

gst_no

string

None.

gst_name

string

None.

gst_address

string

None.

payment_amount

decimal number

None.

discount_amount

decimal number

None.

gst_percent

decimal number

None.

gst_amount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "student_no": "sample string 1",
  "user_id": 2,
  "product_id": 3,
  "billing_type": "sample string 4",
  "payment_term_id": "sample string 5",
  "with_book": true,
  "with_gst": true,
  "gst_no": "sample string 8",
  "gst_name": "sample string 9",
  "gst_address": "sample string 10",
  "payment_amount": 11.1,
  "discount_amount": 12.1,
  "gst_percent": 13.1,
  "gst_amount": 14.1
}

application/xml, text/xml

Sample:
<product_place_order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <billing_type>sample string 4</billing_type>
  <discount_amount>12.1</discount_amount>
  <gst_address>sample string 10</gst_address>
  <gst_amount>14.1</gst_amount>
  <gst_name>sample string 9</gst_name>
  <gst_no>sample string 8</gst_no>
  <gst_percent>13.1</gst_percent>
  <payment_amount>11.1</payment_amount>
  <payment_term_id>sample string 5</payment_term_id>
  <product_id>3</product_id>
  <student_no>sample string 1</student_no>
  <user_id>2</user_id>
  <with_book>true</with_book>
  <with_gst>true</with_gst>
</product_place_order>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.