GET location/{apiKey}/getallpartlocations

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

None.

Body Parameters

None.

Response Information

Resource Description

PartsLocations
NameDescriptionTypeAdditional information
partlocations

Dictionary of integer [key] and Collection of integer [value]

None.

status

string

None.

request_length

decimal number

None.

message

string

None.

ipaddress

string

None.

Response Formats

application/json, text/json

Sample:
{
  "partlocations": {
    "1": [
      1,
      2
    ],
    "2": [
      1,
      2
    ]
  },
  "status": "sample string 1",
  "request_length": 2.1,
  "message": "sample string 3",
  "ipaddress": "sample string 4"
}

text/xml

Sample:
<partslocations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPI.API.Models">
  <ipaddress>sample string 4</ipaddress>
  <message>sample string 3</message>
  <request_length>2.1</request_length>
  <status>sample string 1</status>
  <partlocations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintArrayOfintty7Ep6D1>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>
        <d2p1:int>1</d2p1:int>
        <d2p1:int>2</d2p1:int>
      </d2p1:Value>
    </d2p1:KeyValueOfintArrayOfintty7Ep6D1>
    <d2p1:KeyValueOfintArrayOfintty7Ep6D1>
      <d2p1:Key>2</d2p1:Key>
      <d2p1:Value>
        <d2p1:int>1</d2p1:int>
        <d2p1:int>2</d2p1:int>
      </d2p1:Value>
    </d2p1:KeyValueOfintArrayOfintty7Ep6D1>
  </partlocations>
</partslocations>