AbodeONE

<back to all web services

CreateMoveAppointmentTimeslot

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/move_appointment_timeslots
CreateMoveAppointmentTimeslot Parameters:
NameParameterData TypeRequiredDescription
MoveAppointmentPeriodIdbodyintNo
StartDtbodyDateTimeNo
EndDtbodyDateTimeNo
SlotLimitbodyintNo
IsActivebodyboolNo
CreateMoveAppointmentTimeslotResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformMoveAppointmentTimeslotDTONo
ResponseStatusformResponseStatusNo
MoveAppointmentTimeslotDTO Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
MoveAppointmentPeriodIdformintNo
StartDtformDateTimeNo
EndDtformDateTimeNo
SlotLimitformintNo
IsActiveformboolNo
CreatedDtformDateTimeNo
CreatedByformstringNo
ModifiedDtformDateTime?No
ModifiedByformstringNo

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 //move_appointment_timeslots HTTP/1.1 
Host: api.lsu-staging.abodehms.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	moveAppointmentPeriodId: 0,
	startDt: 0001-01-01,
	endDt: 0001-01-01,
	slotLimit: 0,
	isActive: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	result: 
	{
		id: 0,
		moveAppointmentPeriodId: 0,
		startDt: 0001-01-01,
		endDt: 0001-01-01,
		slotLimit: 0,
		isActive: False,
		createdDt: 0001-01-01,
		createdBy: String,
		modifiedDt: 0001-01-01,
		modifiedBy: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}