| GET | /api/tags/object/{ObjectId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ObjectId | query | Guid | No | Object Id to retrieve tags for. |
| LicenseeId | query | Guid | No | Licensee Id owner of the object. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Tags | query | List<TagModel> | No | List of tags. |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | query | Guid | No | Id of the tag |
| Name | query | string | No | Tag name |
| RmsTableCtxId | query | Guid | No | RmsTableCtx Id that represents the type of object the tag an be linked to |
| ContactOwnerId | query | Guid | No | Owner Id to use to retrieve tags for a particular licensee |
| Colour | query | string | No | Associated tag colour |
| ObjectConnectionId | query | Guid | No | Object Connection Id linking an object to the tag |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/tags/object/{ObjectId} HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Tags:
[
{
Name: String,
Colour: String
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}