Skip to main content

Add or Update an Absence Type

This service either adds a new absence type or updates an existing type when an absence type id is provided.

When updating, either or both the name and colour can be updated. When adding both, the name and colour must be included.

Query String Parameters

NameTypeDescriptionRequired
ActionStringAbsenceTypeSaveRequired
AbsenceTypeIdIntId of the absence type to update.Required, when updating
AbsenceTypeNameStringName of the absence type.Required, when adding
AbsenceTypeColorStringColour to display in BigChange
  • Gold
  • LightSalmon
  • Moccasin
  • plum
  • DarkOrchid
  • SlateBlue
  • SkyBlue
  • MediumAquamarine
  • YellowGreen
  • GreenYellow
Required, when adding
tip
Absence type colours are case sensitive. The different casing on "plum" is correct.

Response Codes

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=AbsenceTypeSave&AbsenceTypeName=New Test Type&AbsenceTypeColor=plum