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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<SamsungOMSReqAvaiStockV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartDynaModWebAPI.ServiceModel">
  <available_req>
    <available_req_header>
      <confirm_flag>String</confirm_flag>
      <online_store_id>String</online_store_id>
      <po_no>String</po_no>
    </available_req_header>
    <available_req_items>
      <available_req_item>
        <SamsungOMSReqAvaiStockV2.Available_Req_Item>
          <model_code>String</model_code>
          <plant>String</plant>
          <request_quantity>String</request_quantity>
          <storage_location>String</storage_location>
        </SamsungOMSReqAvaiStockV2.Available_Req_Item>
      </available_req_item>
    </available_req_items>
    <common_header>
      <in_company>String</in_company>
      <message_id>String</message_id>
      <send_code>String</send_code>
      <send_date>String</send_date>
      <send_system>String</send_system>
      <send_time>String</send_time>
    </common_header>
  </available_req>
</SamsungOMSReqAvaiStockV2>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SamsungOMSReqAvaiStockV2Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartDynaModWebAPI.ServiceModel">
  <IsSuccess>false</IsSuccess>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <available_res>
    <available_res_header>
      <reservation_no>String</reservation_no>
      <result_code>String</result_code>
      <result_message>String</result_message>
    </available_res_header>
    <available_res_items>
      <available_res_item>
        <SamsungOMSReqAvaiStockV2Response.Available_Res_Item>
          <model_code>String</model_code>
          <plant>String</plant>
          <request_quantity>String</request_quantity>
          <storage_location>String</storage_location>
        </SamsungOMSReqAvaiStockV2Response.Available_Res_Item>
      </available_res_item>
    </available_res_items>
  </available_res>
</SamsungOMSReqAvaiStockV2Response>