/api/salesorder/sendCreateSalesOrder

 

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",

  "so_no": "string",

  "shipment_code": "string",

  "order_date": "string",

  "customer_code": "string",

  "customer_name": "string",

  "reference_no": "string",

  "remarks": "string",

  "delivery_date": "string",

  "transport_cost": 0,

  "service_fee": 0,

  "contact_person": "string",

  "address1": "string",

  "address2": "string",

  "street": "string",

  "sub_district": "string",

  "district": "string",

  "province": "string",

  "country": "string",

  "post_code": "string",

  "phone": "string",

  "trucking_service": "string",

  "tracking_no": "string",

  "cod": 0,

  "seq": 0,

  "whse_source": "string",

  "sodetails": [

    {

      "receipt_no": "string",

      "line_no": 0,

      "item_no": "string",

      "uom": "string",

      "qty": 0,

      "unit_price": 0,

      "grade": "string",

      "discount": 0,

      "discount_type": "string"

    }

  ],

  "username": "string",

  "password": "string",

  "sendby": "string"

}

 

Request Parameters

{

client

string
nullable: true

so_no

string
nullable: true

shipment_code

string
nullable: true

order_date

string
nullable: true

customer_code

string
nullable: true

customer_name

string
nullable: true

reference_no

string
nullable: true

remarks

string
nullable: true

delivery_date

string
nullable: true

transport_cost

number($double)

service_fee

number($double)

contact_person

string
nullable: true

address1

string
nullable: true

address2

string
nullable: true

street

string
nullable: true

sub_district

string
nullable: true

district

string
nullable: true

province

string
nullable: true

country

string
nullable: true

post_code

string
nullable: true

phone

string
nullable: true

trucking_service

string
nullable: true

tracking_no

string
nullable: true

cod

integer($int32)

seq

integer($int32)

whse_source

string
nullable: true

sodetails

[...]

username

string
nullable: true

password

string
nullable: true

sendby

string
nullable: true

}

 

Responses

Code  

Description

            Links

200

Success  

No links