Example JSON Request & Response - POST UserPermission

https://...surpass.com/api/v2/UserPermission


Header:

Accept: application/json

Body:

{

  "user": {

       "reference": "BTLJamesL"

  },

  "centre": {

    "reference": "JLTC"

  },

  "permission": {

    "id": 17,

    "assignable": true

  }

}

 

Response:

{

  "id": 17155,

  "href": "https://...surpass.com/api/v2/UserPermission/17155",

  "errors": null

}

Feedback and Knowledge Base