Get a property
GET https://{{host}}/papi/v1/properties/:propertyId
This operation gets a specific property. You can call this operation by specifying any of the propertyId
members from a list of properties, or by running a GET on the propertyLink
response when creating a new property.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
contractId | string | (Optional) Unique identifier for the contract. The parameter is optional if a property belongs to only one contract. Otherwise you need to specify it along with the groupId . In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's ctr_ prefix. | |
groupId | string | (Optional) Unique identifier for the group. The parameter is optional if a property belongs to only one group. Otherwise you need to specify it along with the contractId . In other operations that don't specify a propertyId URL parameter, this parameter is always required. See ID prefixes for details on omitting the value's grp_ prefix. | |
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
PAPI-Use-Prefixes | string | (Required) Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs. | |
Accept | string |
RESPONSES
status: OK
{"properties":{"items":[{"accountId":"act_A-CCT1234","assetId":"aid_101","contractId":"ctr_K-0N7RAK71","groupId":"grp_32145","latestVersion":2,"note":"Descriptive note, read-only in PAPI.","productionVersion":null,"propertyId":"prp_175780","propertyName":"example.com","stagingVersion":1}]}}