GET api/SIMS/GetStockCodesByReplicationId?replicationId={replicationId}&companyKey={companyKey}
Gets a list of stock codes according to the replic ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| replicationId |
The replic ID to get the stock codes for |
string |
Required |
| companyKey |
The company name if the service is connected to multiple SIMS companies (Optional) |
string |
Default value is |
Body Parameters
N/A
Response Information
Resource Description
Collection of BasicStockDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| ReplicationID | string |
N/A |
|
| StockCode | string |
N/A |
Response Formats
application/json, text/json
Sample:
[
{
"ReplicationID": "sample string 1",
"StockCode": "sample string 2"
},
{
"ReplicationID": "sample string 1",
"StockCode": "sample string 2"
}
]