POST {language}/xerooauth2/getAccessTokenXero
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
language | string |
Required |
Body Parameters
GetAccessTokenXeroRequestName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
CompanyId | globally unique identifier |
None. |
|
GLAccountType | string |
None. |
|
CallbackUrl | string |
None. |
|
RequestId | globally unique identifier |
None. |
|
Language | string |
None. |
|
LanguageLogin | string |
None. |
|
AuthToken | string |
None. |
|
ClientId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "CompanyId": "73e3449e-59b6-47d0-b7c7-2f1e1aee0106", "GLAccountType": "sample string 3", "CallbackUrl": "sample string 4", "RequestId": "bf52e2ee-2098-449c-baa1-ca6e9633e108", "Language": "sample string 6", "LanguageLogin": "sample string 7", "AuthToken": "sample string 8", "ClientId": "sample string 9", "PageIndex": 10, "PageSize": 11 }
application/xml, text/xml
Sample:
<GetAccessTokenXeroRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paytime.Infrastructure.WebApi.Models.Requests"> <AuthToken xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 8</AuthToken> <ClientId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 9</ClientId> <Language xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 6</Language> <LanguageLogin xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">sample string 7</LanguageLogin> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">11</PageSize> <RequestId xmlns="http://schemas.datacontract.org/2004/07/Cadena.Common.WebApi">bf52e2ee-2098-449c-baa1-ca6e9633e108</RequestId> <CallbackUrl>sample string 4</CallbackUrl> <Code>sample string 1</Code> <CompanyId>73e3449e-59b6-47d0-b7c7-2f1e1aee0106</CompanyId> <GLAccountType>sample string 3</GLAccountType> </GetAccessTokenXeroRequest>
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.