POST | /v1/authorisation |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GasUserId | body | string | No | |
ApplicationDotRole | body | List<string> | No | |
GEMSOutletId | body | List<string> | No | |
Application | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
status | form | string | No | |
GasUserId | form | string | No | |
Application | form | string | No | |
Roles | form | List<string> | No | |
GSSNRetailerIds | form | List<string> | No | |
DefaultGSSNRetailerId | form | string | No | |
DefaultVehicleType | form | string | No | |
DefaultRole | form | string | No | |
DefaultRoleCount | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/authorisation HTTP/1.1
Host: prod-api-auth-mb-dhc.rapp-customers.co.uk
Accept: application/json
Content-Type: application/json
Content-Length: length
{"GasUserId":"String","ApplicationDotRole":["String"],"GEMSOutletId":["String"],"Application":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"status":"String","GasUserId":"String","Application":"String","Roles":["String"],"GSSNRetailerIds":["String"],"DefaultGSSNRetailerId":"String","DefaultVehicleType":"String","DefaultRole":"String","DefaultRoleCount":0}