Staffs V2

Create a new staffs or update an existing staffs.

post/api/integration/v2/staffs

Request

  • Base URL: https://demo.senati.edu.pe
  • URL: https://demo.senati.edu.pe/api/integration/v2/staffs
  • Auth: none declared

Request body

namesstring

Names

typeIdinteger

staff type 0: Internal company internal staff, 1: Staff of a supplier, 2: Client staff

lastNamestring

Last name

deletedDatestring date-time

Deleted date

mailstring

Mail

telephonestring

Telephone

addressstring

Address

telephoneMobilestring

Telephone mobile

faxstring

Fax

wagenumber double

Wage

currencyIdinteger

Currency Id (null = default)

currencyValuationnumber double

Currency valuation

hoursPerDaynumber double

Hours for day

detailsstring

Details

birthDatestring date-time

Birth date

createdDatestring date-time

Created date

isManagerboolean

Is manager

isAttendantboolean

Is attendant

longitudenumber double

Coordinates longitude

latitudenumber double

Coordinates latitude

idinteger

Internal system Id.

descriptionstring

description.

keystring

key.

externalIdstring

External system Id.

Example request

{
  "layout": {
    "id": "00000000-0000-0000-0000-000000000000",
    "parent": {
      "id": "00000000-0000-0000-0000-000000000000"
    }
  }
}

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.