Rsl.Lotteries

<back to all web services

FindActivityById

Find an Activity by Id

The following routes are available for this service:
GET/activities/{Id}
FindActivityById Parameters:
NameParameterData TypeRequiredDescription
IdpathstringNo
Activity Parameters:
NameParameterData TypeRequiredDescription
ActivityIdformstringNo
CustomerIdformstringNo
OrderIdformstringNo
DescriptionformstringNo
AdditionalInformationformstringNo
StartDateformDateTimeNo
DueDateformDateTimeNo
CategoryformActivityCategory?No
PurposeformstringNo
ContactInformationformstringNo
TypeformstringNo
ActionTypeformstringNo
ActivityTypeformstringNo
UserGroupformstringNo
DispatchedformstringNo
DispatchDateTimeformDateTimeNo
ActivityCategory Enum:
NameValue
Appointment1
Task2
Action3
Event4

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.

GET /activities/{Id} HTTP/1.1 
Host: azs-stg-lotteries-web.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	activityId: String,
	customerId: String,
	orderId: String,
	description: String,
	additionalInformation: String,
	startDate: 0001-01-01,
	dueDate: 0001-01-01,
	category: 0,
	purpose: String,
	contactInformation: String,
	type: String,
	actionType: String,
	activityType: String,
	userGroup: String,
	dispatched: String,
	dispatchDateTime: 0001-01-01
}