MobileConnect Application Server

<back to all web services

NotifyWorkActivityUpdateRequest

The following routes are available for this service:
All Verbs/workactivity/notify/update

To override the Content-type in your clients 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 /jsv/oneway/NotifyWorkActivityUpdateRequest HTTP/1.1 
Host: 185.179.20.77 
Content-Type: text/jsv
Content-Length: length

{
	ParentJobReferUid: 00000000000000000000000000000000,
	WorkActivityUpdates: 
	[
		{
			WorkActivityReferUid: 00000000000000000000000000000000,
			StatusUpdate: 
			{
				EventCode: String,
				ReasonCode: String,
				IsFailureCode: False,
				IsInCompleteCode: False,
				IsCompleteCode: False
			},
			CollectedData: 
			{
				Fields: 
				[
					{
						ReferUid: 00000000000000000000000000000000,
						Name: String,
						Value: String,
						Type: String,
						Created: 0001-01-01,
						Modified: 0001-01-01,
						Notes: String,
						Deleted: False
					}
				],
				Items: 
				[
					{
						ReferUid: 00000000000000000000000000000000,
						Name: String,
						Description: String,
						Created: 0001-01-01,
						Modified: 0001-01-01,
						Ordinal: 0,
						CreationSource: Unknown,
						DataAccessGroup: String,
						Customer: String,
						CustomerReferId: 0,
						Location: String,
						LocationReferId: 0,
						Type: 
						{
							Name: String,
							Description: String,
							Created: 0001-01-01,
							Modified: 0001-01-01,
							Notes: String
						},
						Histories: 
						[
							{
								ReferId: 0,
								Timestamp: 0001-01-01,
								Event: String,
								Notes: String,
								UserName: String,
								UserReferUid: 00000000000000000000000000000000
							}
						],
						Fields: 
						[
							{
								ReferUid: 00000000000000000000000000000000,
								Name: String,
								Value: String,
								Type: String,
								Created: 0001-01-01,
								Modified: 0001-01-01,
								Notes: String,
								Deleted: False
							}
						]
					}
				],
				OrderReference: String,
				InvoiceReference: String,
				ExternalOrderReference: String,
				ExternalInvoiceReference: String,
				ActivityName: String,
				GeoPosition: 
				{
					ReferId: 0,
					Latitude: 0,
					Longitude: 0,
					DilutionOfPrecision: 0,
					TimeStamp: 0001-01-01
				},
				Notes: 
				{
					ReferId: 0,
					Created: 0001-01-01,
					Content: String,
					Deleted: False
				},
				Resources: 
				[
					{
						ReferId: 0,
						Name: String,
						Description: String,
						Created: 0001-01-01,
						Modified: 0001-01-01,
						ResourceType: ImageJpeg,
						Data: AA==,
						CustomFields: 0,
						PrintedName: String,
						ExternalFileName: String
					}
				]
			}
		}
	],
	WorkActivityGroupUpdate: 
	{
		WorkActivityReferUid: 
		[
			00000000000000000000000000000000
		],
		StatusUpdate: 
		{
			EventCode: String,
			ReasonCode: String,
			IsFailureCode: False,
			IsInCompleteCode: False,
			IsCompleteCode: False
		}
	},
	SessionUid: 00000000000000000000000000000000,
	DeviceSerialNumber: String,
	GeneratedAt: 0001-01-01
}