Skip to content

Get against locationId

Request

This operation is used to retrived Inbound Site against the location.

Security
bearerAuth
Bodyapplication/jsonrequired
Array of strings
curl -i -X POST \
  https://api-sandbox.sendpro360.pitneybowes.com/pitneytrack/api/v1/location/inboundsites \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    "location1",
    "location2"
  ]'

Responses

Successful response

Bodyapplication/json
Array [
inboundSiteIdstring

A unique identifier assigned to the inbound site.

Example:"xy277mD9Plbl"
namestring

The name of the inbound site.

Example:"Gandhi Nagar"
typestring

The type of the inbound site that is Site, Building, Floor, Mailstop.

Example:"site"
locationIdstring

The unique identifier of the location associated with the inbound site.

Example:"M0K9QbNMgob"
locationHierarchystring

The hierarchical structure of the inbound site's location (e.g., Site > Building > Floor > Mailstop).

Example:"Gandhi Nagar"
statusstring

The current status of the inbound site, such as ACTIVE or INACTIVE.

Example:"ACTIVE"
defaultSiteboolean

Indicates whether this inbound site is the default site in the system.

Example:false
]
Response
[ { "inboundSiteId": "xy277mD9Plbl", "name": "Gandhi Nagar", "type": "site", "locationId": "M0K9QbNMgob", "locationHierarchy": "Gandhi Nagar", "status": "ACTIVE", "defaultSite": false } ]