POST public-api/customers/savestudentmodels

This method was created primarily to use with our LDAP sync tool. It takes a list of students and will update or insert as necessary. Students are written to the customer records, so this method and savecustomermodels perform the same operation. Only the students supplied in the list are touched. A student that is active in the Cloud system but absent from the list is left untouched, so to retire a student, submit that student with an inactive record status (the LDAP ACCOUNT_DISABLE value is also recognized) rather than omitting them. This method does not perform its own permission check and does not impose a record-count limit of its own, so the caller is responsible for keeping each batch to a reasonable size.



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
}