View a Location by Code

get

/primeapi/restapi/location/code/{code}

This endpoint returns locations that meet the following requirements:
  • The object has a code that matches the value of the {code} path parameter.

Request

Path Parameters

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ApiEntityLocation
Type: object
Show Source

204 Response

Successful operation with no content.

404 Response

The requested location does not exist, or you do not have access to it.