Global Teach - Services

<back to all web services

SynchLocalData

The following routes are available for this service:
All Verbs/svc/mobile/synchLocalData
All Verbs/svc/SynchLocalData

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/reply/SynchLocalData HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: text/jsv
Content-Length: length

{
	lessonStates: 
	[
		{
			id: 0,
			lessonId: 0,
			attemptNo: 0,
			completionStatus: String,
			successStatus: String,
			score: 0,
			startTime: String,
			endTime: String,
			suspendData: String,
			synchTime: String
		}
	],
	settings: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	user: 
	{
		id: 0,
		guid: String,
		domainName: String,
		domainId: 0,
		department: String,
		name: String,
		qualifiedName: String,
		firstName: String,
		lastName: String,
		email: String,
		displayName: String String,
		userImageData: String,
		attributes: 
		[
			{
				id: 0,
				name: String,
				value: String,
				integerValue: 0,
				doubleValue: 0,
				attributeMetadataId: 0,
				source: String,
				ordinal: 0
			}
		],
		skills: 
		[
			{
				id: 0,
				sid: String,
				title: String,
				levelValue: 0,
				levelTitle: String,
				acquired: String,
				reasonForAssignment: String,
				expires: String
			}
		],
		groups: 
		[
			{
				id: 0,
				name: String,
				qualifiedName: String,
				type: String
			}
		],
		contacts: 
		[
			{
				type: String,
				title: String,
				value: String
			}
		],
		additionalInfos: 
		[
			{
				name: String,
				value: String
			}
		]
	},
	lessonStates: 
	[
		{
			id: 0,
			lessonId: 0,
			attemptNo: 0,
			completionStatus: String,
			successStatus: String,
			score: 0,
			startTime: String,
			endTime: String,
			suspendData: String,
			synchTime: String
		}
	],
	settings: String
}