Response containing a role
| name | data type | constraints | description |
|---|---|---|---|
| role | RoleModel | Role | |
| messages | array of Message | Messages contained in the response (which should be shown to the user) | |
| responseInfo | ResponseInfo | ||
| inBackground | boolean | required boolean | Whether the job was pushed into the background. |
Example
{
"role" : {
"id" : 12345,
"name" : "...",
"description" : "...",
"nameI18n" : {
"property1" : "...",
"property2" : "..."
},
"descriptionI18n" : {
"property1" : "...",
"property2" : "..."
}
},
"messages" : [ { }, { } ],
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"inBackground" : true
}