SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

SamsungOMSReqAvaiStockV2

Samsung OMS Request Available Stock API

Requires Authentication
The following routes are available for this service:
All Verbs/V2/SamsungOMSReqAvaiStock
SamsungOMSReqAvaiStockV2 Parameters:
NameParameterData TypeRequiredDescription
available_reqqueryAvailable_ReqNo
Available_Req Parameters:
NameParameterData TypeRequiredDescription
common_headerformCommon_HeaderNo
available_req_headerformAvailable_Req_HeaderNo
available_req_itemsformAvailable_Req_ItemsNo
Common_Header Parameters:
NameParameterData TypeRequiredDescription
message_idformstringNo
send_systemformstringNo
send_dateformstringNo
send_timeformstringNo
in_companyformstringNo
send_codeformstringNo
Available_Req_Header Parameters:
NameParameterData TypeRequiredDescription
confirm_flagformstringNo
online_store_idformstringNo
po_noformstringNo
Available_Req_Items Parameters:
NameParameterData TypeRequiredDescription
available_req_itemformAvailable_Req_Item[]No
Available_Req_Item Parameters:
NameParameterData TypeRequiredDescription
plantformstringNo
storage_locationformstringNo
model_codeformstringNo
request_quantityformstringNo
SamsungOMSReqAvaiStockV2Response Parameters:
NameParameterData TypeRequiredDescription
available_resformAvailable_ResNo
IsSuccessformboolNo
ResponseStatusformResponseStatusNo
Available_Res Parameters:
NameParameterData TypeRequiredDescription
available_res_headerformAvailable_Res_HeaderNo
available_res_itemsformAvailable_Res_ItemsNo
Available_Res_Header Parameters:
NameParameterData TypeRequiredDescription
result_messageformstringNo
reservation_noformstringNo
result_codeformstringNo
Available_Res_Items Parameters:
NameParameterData TypeRequiredDescription
available_res_itemformAvailable_Res_Item[]No
Available_Res_Item Parameters:
NameParameterData TypeRequiredDescription
plantformstringNo
storage_locationformstringNo
model_codeformstringNo
request_quantityformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /V2/SamsungOMSReqAvaiStock HTTP/1.1 
Host: snr2u.com 
Accept: text/csv
Content-Type: text/csv
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: text/csv
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"}}}