POST public-api/employees/saveemployeemodels

A public API created primary for use with our LDAP sync tool. This API takes a list of employees and will update and insert as necessary. Any employees not in the list, but active in the Cloud system will be deleted. Requires, Create, Edit, and Delete Employee permission



Request Information

URI Parameters

None.

Body Parameters

Collection of Dictionary of Object [key] and Object [value]

Request Formats

application/json

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information

Resource Description

WaspResultOfListOfInvariantCultureIgnoreCaseDictionary
NameDescriptionTypeAdditional information
Data

Collection of Dictionary of Object [key] and Object [value]

None.

Messages

Collection of WtResult

None.

BatchNumber

integer

None.

HasError

boolean

None.

HasHttpError

boolean

None.

HasMessage

boolean

None.

HasSuccessWithMoreDataRemaining

boolean

None.

TotalRecordsLongCount

integer

None.

Response Formats

application/json

Sample:
{
  "Data": null,
  "Messages": [
    {
      "ResultCode": 0,
      "Message": "sample string 1",
      "HttpStatusCode": 200,
      "FieldName": "sample string 2"
    },
    {
      "ResultCode": 0,
      "Message": "sample string 1",
      "HttpStatusCode": 200,
      "FieldName": "sample string 2"
    }
  ],
  "BatchNumber": 1,
  "HasError": false,
  "HasHttpError": false,
  "HasMessage": true,
  "HasSuccessWithMoreDataRemaining": false,
  "TotalRecordsLongCount": 1
}