ColdstarRefrigeration

<back to all web services

PostAnnualLeaveRequest

The following routes are available for this service:
POST/PostAnnualLeaveRequest
PostAnnualLeaveRequest Parameters:
NameParameterData TypeRequiredDescription
StaffIdbodyintNo
StartingbodyDateTimeNo
StartingTimebodyintNo
EndingbodyDateTimeNo
EndingTimebodyintNo
NotesbodystringNo
TotalDaysbodydoubleNo
TotalDaysRemainingbodydoubleNo
IsSyncedbodyboolNo
RequestIdbodyGuidNo

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 /PostAnnualLeaveRequest HTTP/1.1 
Host: api.coldstarrefrigeration.co.uk 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	StaffId: 0,
	Starting: 0001-01-01,
	StartingTime: 0,
	Ending: 0001-01-01,
	EndingTime: 0,
	Notes: String,
	TotalDays: 0,
	TotalDaysRemaining: 0,
	IsSynced: False,
	RequestId: 00000000000000000000000000000000
}