Platform API

<back to all web services

UpdateObjectSubscrptionStatus

Updates an object subscription status

Requires Authentication
The following routes are available for this service:
All Verbs/api/updateobjectsubscriptionstatus
UpdateObjectSubscrptionStatus Parameters:
NameParameterData TypeRequiredDescription
ObjectSubscriptionIdqueryGuidNo
RecordStatusqueryCharNo
SubscriptionKeyquerystringNo
GetDataSourcesResponse Parameters:
NameParameterData TypeRequiredDescription
DataSourcesformList<ListDataItem>No
ResponseStatusformResponseStatusNo
ListDataItem Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
NameformstringNo
DescriptionformstringNo
ShortNameformstringNo
DefaultNameformstringNo
IsDefaultformboolNo
OrderformintNo
ListItemTrafficLightIdformGuidNo
PrimaryListItemImageIdformGuidNo
PrimaryListItemImageUrlformstringNo
PrimaryImageThumbnailUrlformstringNo
OwnerContactIdformGuidNo
RecordStatusformstringNo
TagsformstringNo
ListIdformGuidNo
MarkAsCheckedformboolNo
RelatedObjectIdformGuidNo
CanEditformboolNo
IsOwnerformboolNo
ExtraValuesformList<Object>No
ListItemFiltersformList<ListItemFilter>No
ListItemFilter Parameters:
NameParameterData TypeRequiredDescription
ListItemFilterIdformGuidNo
FilterNameformstringNo
ListIdformGuidNo
ListItemIdformGuidNo
ListItemIsInFilterformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/updateobjectsubscriptionstatus HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	RecordStatus: ,
	SubscriptionKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	DataSources: 
	[
		{
			Name: String,
			Description: String,
			ShortName: String,
			DefaultName: String,
			IsDefault: False,
			Order: 0,
			PrimaryListItemImageUrl: String,
			PrimaryImageThumbnailUrl: String,
			RecordStatus: String,
			Tags: String,
			MarkAsChecked: False,
			CanEdit: False,
			IsOwner: False,
			ExtraValues: 
			[
				{
					
				}
			],
			ListItemFilters: 
			[
				{
					FilterName: String,
					ListItemIsInFilter: False
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}