| All Verbs | /api/dimensionvalues/{DimensionId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LicenseeId | query | Guid | No | Licensee Id to retrieve dimensionValues for. |
| DimensionId | query | Guid | No | Dimension Id to retrieve dimensionValues for. |
| RecordStatus | query | string | No | RecordStatus of dimensionValues to retrieve. If not set 'A' active dimensionValues are retrieved. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DimensionValues | query | List<DimensionValueModel> | No | List of dimensionValues. |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DimensionValueId | body | Guid | No | Id of the dimension value. |
| DimensionId | body | Guid | No | Dimension Id this value is for. |
| Name | body | string | No | Name of the dimension value. |
| Description | body | string | No | Description of the dimension value. |
| ShortName | body | string | No | Short Name for the dimension value. |
| TrafficLightId | body | Guid | No | Id of the colour associated. |
| TrafficLightColour | body | string | No | Colour associated with the dimension value. |
| ObjectConnectionId | body | Guid | No | Id that links this dimension value to an object. |
| OwnerContactId | body | Guid | No | Owner Id of the dimension value. |
| RecordStatus | body | string | No | Record status of the dimension value. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/dimensionvalues/{DimensionId} HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"LicenseeId":"00000000-0000-0000-0000-000000000000","DimensionId":"00000000-0000-0000-0000-000000000000","RecordStatus":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"DimensionValues":[{"DimensionValueId":"00000000-0000-0000-0000-000000000000","DimensionId":"00000000-0000-0000-0000-000000000000","Name":"String","Description":"String","ShortName":"String","TrafficLightId":"00000000-0000-0000-0000-000000000000","TrafficLightColour":"String","ObjectConnectionId":"00000000-0000-0000-0000-000000000000","OwnerContactId":"00000000-0000-0000-0000-000000000000","RecordStatus":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}