POST api/v1/gamswitch/token-generation
Request Information
URI Parameters
None.
Body Parameters
GamSwitchTokenGenerationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Password | string |
None. |
|
| GrantType | string |
None. |
|
| RequestId | string |
Required Matching regular expression pattern: (^(?=.{4,50}$)([ A-Za-z0-9.|/-]+$)) |
|
| CountryId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2",
"GrantType": "sample string 3",
"RequestId": "sample string 4",
"CountryId": "sample string 5"
}
application/xml, text/xml
Sample:
<GamSwitchTokenGenerationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirstBank.SingleBiller.CoreObject.DataTransferObjects"> <CountryId>sample string 5</CountryId> <RequestId>sample string 4</RequestId> <GrantType>sample string 3</GrantType> <Password>sample string 2</Password> <Username>sample string 1</Username> </GamSwitchTokenGenerationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.