GET OneStop/Groups/ServiceCall/UserStockLocation?userKey={userKey}&serviceProviderID={serviceProviderID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userKey | integer |
Required |
|
| serviceProviderID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StockLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| StockLocationID | integer |
None. |
|
| ServiceProviderID | integer |
None. |
|
| Name | string |
None. |
|
| Notes | string |
None. |
|
| IsDefault | boolean |
None. |
|
| IsMobile | boolean |
None. |
|
| UserID | integer |
None. |
|
| AddressID | integer |
None. |
|
| IsCustomer | boolean |
None. |
|
| GroupID | integer |
None. |
|
| CustomerAddressGroupID | integer |
None. |
|
| AddressAsLine | string |
None. |
|
| GUID | globally unique identifier |
None. |
|
| TypeDescription | string |
None. |
|
| SubLocationCount | integer |
None. |
|
| QuantityInStock | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"StockLocationID": 1,
"ServiceProviderID": 2,
"Name": "sample string 3",
"Notes": "sample string 4",
"IsDefault": true,
"IsMobile": true,
"UserID": 6,
"AddressID": 7,
"IsCustomer": true,
"GroupID": 8,
"CustomerAddressGroupID": 9,
"AddressAsLine": "sample string 10",
"GUID": "192404f8-2891-432b-9a79-f4fb39428683",
"TypeDescription": "sample string 12",
"SubLocationCount": 13,
"QuantityInStock": 14
}
application/xml, text/xml
Sample:
<StockLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BITS.OneStop.Common.Groups.Stock"> <AddressAsLine>sample string 10</AddressAsLine> <AddressID>7</AddressID> <CustomerAddressGroupID>9</CustomerAddressGroupID> <GUID>192404f8-2891-432b-9a79-f4fb39428683</GUID> <GroupID>8</GroupID> <IsDefault>true</IsDefault> <Name>sample string 3</Name> <Notes>sample string 4</Notes> <QuantityInStock>14</QuantityInStock> <ServiceProviderID>2</ServiceProviderID> <StockLocationID>1</StockLocationID> <SubLocationCount>13</SubLocationCount> <TypeDescription>sample string 12</TypeDescription> <UserID>6</UserID> </StockLocation>