POST | /v1/User/RefreshToken | Refresh user token before timeout |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Account | form | Account | No | |
IsValid | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GasUserId | form | string | No | |
UserId | form | int | No | |
UserRoleId | form | List<int> | No | |
UserRoleRedirectUrl | form | string | No | |
UserToken | form | Guid | No | |
RetailerGroupId | form | string | No | |
Modified | form | DateTime | No | |
Exists | form | bool | No | |
DefaultVehicleType | form | string | No | |
DefaultRetailerGssn | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/User/RefreshToken HTTP/1.1
Host: prod-api-auth-mb-dhc.rapp-customers.co.uk
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Account":{"GasUserId":"String","UserId":0,"UserRoleId":[0],"UserRoleRedirectUrl":"String","UserToken":"00000000000000000000000000000000","RetailerGroupId":"String","Modified":"\/Date(-62135596800000-0000)\/","Exists":false,"DefaultVehicleType":"String","DefaultRetailerGssn":"String"},"IsValid":false}