All Verbs | /SamsungOMSReqAvaiStock |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
available_req | query | Available_Req | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
available_res | form | Available_Res | No | |
IsSuccess | form | bool | No | |
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SamsungOMSReqAvaiStock HTTP/1.1
Host: snr2u.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"available_req":{"common_header":{"message_id":"String","send_system":"String","send_date":"String","send_time":"String","in_company":"String","send_code":"String"},"available_req_header":{"confirm_flag":"String","online_store_id":"String","po_no":"String"},"available_req_items":{"available_req_item":[{"plant":"String","storage_location":"String","model_code":"String","request_quantity":"String"}]}}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"available_res":{"available_res_header":{"result_message":"String","reservation_no":"String","result_code":"String"},"available_res_items":{"available_res_item":[{"plant":"String","storage_location":"String","model_code":"String","request_quantity":"String"}]}},"IsSuccess":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}