/api/purchaseOrder/sendCreatePurchaseOrder

Common Parameter

Surroundings

HTTP Address

URL

http://XXX.XXX.X.XXX/Similan_center_api_beta/swagger/index.html

Test URL

Name

Description

method

POST

 

Response Example

JSON

{

  "client": "string",

  "order_no": "string",

  "order_type": "string",

  "status": "string",

  "reference": "string",

  "supplier": "string",

  "supplier_name": "string",

  "street": "string",

  "bldg": "string",

  "town": "string",

  "postcode": "string",

  "contact": "string",

  "phone": "string",

  "fax": "string",

  "maker": "string",

  "country": "string",

  "street3": "string",

  "state": "string",

  "payment_term": "string",

  "credit": 0,

  "vat": "string",

  "remarks": "string",

  "discount": 0,

  "discount_type": "string",

  "pr_ref": "string",

  "transport_mode": "string",

  "eta": "2020-11-03T04:05:42.249Z",

  "ship_to": "string",

  "ship_instruction": "string",

  "shipment_no": "string",

  "hawb": "string",

  "container": "string",

  "remarks1": "string",

  "currency": "string",

  "received_by": "string",

  "seal_number": "string",

  "vessel": "string",

  "origin_country": "string",

  "customs_import_entry": "string",

  "truckplate": "string",

  "typeoftruck": "string",

  "driver": "string",

  "licenscetype": "string",

  "truckingservices": "string",

  "invoice": "string",

  "podetails": [

    {

      "client": "string",

      "order_no": "string",

      "line_no": 0,

      "supplier": "string",

      "item_no": "string",

      "grade": "string",

      "loose": 0,

      "loose_uom": "string",

      "owner": "string",

      "lot": "string",

      "batch": "string",

      "item_size": "string",

      "item_color": "string",

      "item_class": "string",

      "line_remark": "string",

      "unit_price": 0,

      "udf1": "string",

      "discount": 0,

      "discount_type": "string",

      "maker": "string",

      "udf2": "string",

      "pr_line": "string"

    }

  ]

}

 

Request Parameters

{

client

string
nullable: true

order_no

string
nullable: true

order_type

string
nullable: true

status

string
nullable: true

reference

string
nullable: true

supplier

string
nullable: true

supplier_name

string
nullable: true

street

string
nullable: true

bldg

string
nullable: true

town

string
nullable: true

postcode

string
nullable: true

contact

string
nullable: true

phone

string
nullable: true

fax

string
nullable: true

maker

string
nullable: true

country

string
nullable: true

street3

string
nullable: true

state

string
nullable: true

payment_term

string
nullable: true

credit

integer($int32)

vat

string
nullable: true

remarks

string
nullable: true

discount

number($double)

discount_type

string
nullable: true

pr_ref

string
nullable: true

transport_mode

string
nullable: true

eta

string($date-time)
nullable: true

ship_to

string
nullable: true

ship_instruction

string
nullable: true

shipment_no

string
nullable: true

hawb

string
nullable: true

container

string
nullable: true

remarks1

string
nullable: true

currency

string
nullable: true

received_by

string
nullable: true

seal_number

string
nullable: true

vessel

string
nullable: true

origin_country

string
nullable: true

customs_import_entry

string
nullable: true

truckplate

string
nullable: true

typeoftruck

string
nullable: true

driver

string
nullable: true

licenscetype

string
nullable: true

truckingservices

string
nullable: true

invoice

string
nullable: true

podetails

[...]

}

Responses

Code  

Description

            Links

200

Success  

No links