| 200 | Success | Partial or Complete Upload Successful | | Upload | Object, Required | Upload Process Summary |
|---|
| Send | Object, Optional | Send Process Summary. Only present if the send query String parameter was present in the request. Only contains 1 property Counts. |
|---|
Upload Object Properties
| Counts | Object, Required | Upload Process Summary |
|---|
| RecordErrors | Array[Object], Optional | Array of ErrorsOfRecord Objects. Only present if Upload.Counts.Fail is greater than 0. If present, Array count is greater than 0. |
|---|
Upload.Counts Object Properties
| Request | Integer, Required | Number of Records requested to be uploaded. Value is greater than 0. |
|---|
| Success | Integer, Required | Number of Records successfully uploaded. Value is greater than 0. |
|---|
| Fail | Integer, Required | Number of Records which fail to be uploaded. Value is greater than or equal to 0. |
|---|
ErrorsOfRecord Object Properties
| Index | Integer, Required | Index of Record. Value is greater than or equal to 0. |
|---|
| Errors | Array[String], Required | Array of String Errors. Array count is greater than 0. |
|---|
Send.Counts Object Properties
| Request | Integer, Required | Number of Records requested to be uploaded. Value is greater than 0. |
|---|
| Success | Integer, Required | Number of Records successfully uploaded. Value is greater than 0. |
|---|
| Fail | Integer, Required | Number of Records which fail to be uploaded. Value is greater than or equal to 0. |
|---|
Examples
Partial Upload of 3 Invitations
{"Upload":{"Counts":{"Request":3,"Success":2,"Fail":1},"RecordErrors":[{"Index":2,"Errors":["'Name' not found.","'Email' is invalid."]}]}}
|
|---|
| 422 | Error | Body Issue |
| Message | String, Optional | Wrongly Formatted or Empty |
|---|
| Upload | Object, Optional | Only present if Message is not |
|---|
Upload Object Properties
| Counts | Object, Required | Upload Process Summary |
|---|
| RecordErrors | Array[Object], Required | Array of ErrorsOfRecord Objects. Array count is greater than 0. |
|---|
Upload.Counts Object Properties
| Request | Integer, Required | Number of Records requested to be uploaded. Value is greater than 0. |
|---|
| Success | Integer, Required | Number of Records successfully uploaded. Value is 0. |
|---|
| Fail | Integer, Required | Number of Records which fail to be uploaded. Value is equal to Upload.Counts.Request. |
|---|
ErrorsOfRecord Object Properties
| Index | Integer, Required | Index of Record. Value is greater than or equal to 0. |
|---|
| Errors | Array[String], Required | Array of String Errors. Array count is greater than 0. |
|---|
Examples
None of 3 Invitations Uploaded
{"Upload":{"Counts":{"Request":3,"Success":0,"Fail":3},"RecordErrors":[{"Index":0,"Errors":["'Language' is an empty string."]},{"Index":1,"Errors":["'222' is not a set."]},{"Index":2,"Errors":["'Name' not found.","'Email' is invalid."]}]}}
|
|---|