Skip to navigation

Contract Type - UPSERT

View as Markdown

Insert and update contract types in BIPO.

Keyed on ContractTypeCode: the record is inserted if the code does not exist, otherwise updated in place. Multiple rows may be sent in one call.

Request fields

FieldTypeMandatoryNotes
InterfaceCodestringYesAlways BIPO-CTL
ContractTypeCodestring(16)YesKey. Rejected if empty
ContractTypeNamestring(60)No
CountryCodesstringNoComma-separated list (e.g. SG,MY,HK), or \* for all countries
Obsoletestring(1)NoY / N soft-retire flag. Setting Y marks the row retired; it does not delete it

Differs from HRMS V2. V2 also enforces ContractTypeName as mandatory. V1 accepts a row without it.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
Datalist of objectsRequired
InterfaceCodestringRequired

Response

OK
okboolean
msgstring