GET api/Account/GetAccountInfo?authToken={authToken}

Gets the account information.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authToken

The authentication token.

string

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfAccountInfo
NameDescriptionTypeAdditional information
Result

AccountInfo

None.

ErrorCode

ServiceErrorCode

None.

ErrorMessage

Collection of string

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "Address": "sample string 1",
    "AllowNewsletter": true,
    "CAE": "sample string 2",
    "City": "sample string 3",
    "CommunicationLanguage": 1,
    "CountryId": "45dc2d6a-c35a-4447-9915-45db7c78a730",
    "CriminalRecordId": "9e63f68c-4419-4822-966c-ae83f9d7586f",
    "CriminalRecordName": "sample string 4",
    "DriverLicenceId": "1ef78d48-f140-4707-bc95-1f88a91a9eb6",
    "DriverLicenceName": "sample string 5",
    "NIFFileId": "400a6df4-7bf1-4295-8225-b92d2766ff9d",
    "NIFFileName": "sample string 6",
    "Email": "sample string 7",
    "IDDocumentId": "17d18783-a464-4fbd-9492-3d0ed7113555",
    "IDDocumentName": "sample string 8",
    "IDDocumentNumber": "sample string 9",
    "IDDocumentType": 1,
    "IsAdministrator": true,
    "IsCarrier": true,
    "IsClient": true,
    "IsCompany": true,
    "Name": "sample string 14",
    "NIF": "sample string 15",
    "PhoneNumber": "sample string 16",
    "PhoneNumberPrefix": "sample string 17",
    "State": 1,
    "StateComment": "sample string 18",
    "ZipCode": "sample string 19",
    "IBAN": "sample string 20",
    "IBANFileId": "a4daed55-8f84-4d7c-b7a5-4a2a09504f34",
    "IBANFileName": "sample string 21",
    "AccountNumber": "sample string 22"
  },
  "ErrorCode": 0,
  "ErrorMessage": [
    "sample string 1",
    "sample string 2"
  ],
  "Success": true
}

application/xml, text/xml

Sample:
<ServiceResultOfAccountInfo_PTu2eKdN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOP.Common.Infrastructure.ApiObjects.Results">
  <ErrorCode>None</ErrorCode>
  <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorMessage>
  <Success>true</Success>
  <Result>
    <AccountNumber>sample string 22</AccountNumber>
    <Address>sample string 1</Address>
    <AllowNewsletter>true</AllowNewsletter>
    <CAE>sample string 2</CAE>
    <City>sample string 3</City>
    <CommunicationLanguage>PT</CommunicationLanguage>
    <CountryId>45dc2d6a-c35a-4447-9915-45db7c78a730</CountryId>
    <CriminalRecordId>9e63f68c-4419-4822-966c-ae83f9d7586f</CriminalRecordId>
    <CriminalRecordName>sample string 4</CriminalRecordName>
    <DriverLicenceId>1ef78d48-f140-4707-bc95-1f88a91a9eb6</DriverLicenceId>
    <DriverLicenceName>sample string 5</DriverLicenceName>
    <Email>sample string 7</Email>
    <IBAN>sample string 20</IBAN>
    <IBANFileId>a4daed55-8f84-4d7c-b7a5-4a2a09504f34</IBANFileId>
    <IBANFileName>sample string 21</IBANFileName>
    <IDDocumentId>17d18783-a464-4fbd-9492-3d0ed7113555</IDDocumentId>
    <IDDocumentName>sample string 8</IDDocumentName>
    <IDDocumentNumber>sample string 9</IDDocumentNumber>
    <IDDocumentType>IdDocument</IDDocumentType>
    <IsAdministrator>true</IsAdministrator>
    <IsCarrier>true</IsCarrier>
    <IsClient>true</IsClient>
    <IsCompany>true</IsCompany>
    <NIF>sample string 15</NIF>
    <NIFFileId>400a6df4-7bf1-4295-8225-b92d2766ff9d</NIFFileId>
    <NIFFileName>sample string 6</NIFFileName>
    <Name>sample string 14</Name>
    <PhoneNumber>sample string 16</PhoneNumber>
    <PhoneNumberPrefix>sample string 17</PhoneNumberPrefix>
    <State>Pending</State>
    <StateComment>sample string 18</StateComment>
    <ZipCode>sample string 19</ZipCode>
  </Result>
</ServiceResultOfAccountInfo_PTu2eKdN>