POST api/v1/place_order_new

Request Information

URI Parameters

None.

Body Parameters

product_place_order_new
NameDescriptionTypeAdditional information
student_no

string

None.

user_id

integer

None.

product_id

integer

None.

billing_type

string

None.

payment_term_id

string

None.

rate_type

string

None.

down_payment

decimal number

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.

selection_type

integer

None.

subject_ids

string

None.

subject_names

string

None.

subject_names_eng

string

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",
  "rate_type": "sample string 6",
  "down_payment": 7.1,
  "with_book": true,
  "with_gst": true,
  "gst_no": "sample string 10",
  "gst_name": "sample string 11",
  "gst_address": "sample string 12",
  "payment_amount": 13.1,
  "discount_amount": 14.1,
  "gst_percent": 15.1,
  "gst_amount": 16.1,
  "selection_type": 17,
  "subject_ids": "sample string 18",
  "subject_names": "sample string 19",
  "subject_names_eng": "sample string 20"
}

application/xml, text/xml

Sample:
<product_place_order_new 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>14.1</discount_amount>
  <down_payment>7.1</down_payment>
  <gst_address>sample string 12</gst_address>
  <gst_amount>16.1</gst_amount>
  <gst_name>sample string 11</gst_name>
  <gst_no>sample string 10</gst_no>
  <gst_percent>15.1</gst_percent>
  <payment_amount>13.1</payment_amount>
  <payment_term_id>sample string 5</payment_term_id>
  <product_id>3</product_id>
  <rate_type>sample string 6</rate_type>
  <selection_type>17</selection_type>
  <student_no>sample string 1</student_no>
  <subject_ids>sample string 18</subject_ids>
  <subject_names>sample string 19</subject_names>
  <subject_names_eng>sample string 20</subject_names_eng>
  <user_id>2</user_id>
  <with_book>true</with_book>
  <with_gst>true</with_gst>
</product_place_order_new>

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.