GET api/Clients/ClientInfo/{sessionId}

Returns information about client

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

None.

Response Information

Resource Description

Details of the client

ClientInfo
NameDescriptionTypeAdditional information
Client

კლიენტის შესახებ ინფორმაცია

Client

None.

ClientAddresses

მისამართები

Collection of ClientAddress

None.

ClientMails

საკონტაქტო მეილები

Collection of ClientMail

None.

ClientPhones

საკონტაქტო ტელეფონები

Collection of ClientPhone

None.

ClientDevices

კლიენტის მოწყობილობები

Collection of ClientDevice

None.

Response Formats

application/json, text/json

Sample:
{
  "Client": {
    "CategoryType": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "FirstNameInt": "sample string 4",
    "LastNameInt": "sample string 5",
    "Sex": "sample string 6",
    "BirthDate": 7,
    "TranStatus": "sample string 8",
    "Resident": "sample string 9",
    "Pin": "sample string 10",
    "ClientCategory": "sample string 11"
  },
  "ClientAddresses": [
    {
      "AddressType": "sample string 1",
      "ClientKey": 2,
      "CountryCode": "sample string 3",
      "RegionCode": "sample string 4",
      "Street": "sample string 5",
      "Building": "sample string 6",
      "Appartment": 7,
      "District": "sample string 8",
      "NonCity": "sample string 9",
      "UrbanType": "sample string 10"
    },
    {
      "AddressType": "sample string 1",
      "ClientKey": 2,
      "CountryCode": "sample string 3",
      "RegionCode": "sample string 4",
      "Street": "sample string 5",
      "Building": "sample string 6",
      "Appartment": 7,
      "District": "sample string 8",
      "NonCity": "sample string 9",
      "UrbanType": "sample string 10"
    }
  ],
  "ClientMails": [
    {
      "Contact": "sample string 1",
      "Route": "sample string 2",
      "DefaultContact": "sample string 3",
      "ContactName": "sample string 4",
      "Mail": "sample string 5",
      "Mobile": {},
      "Device": {}
    },
    {
      "Contact": "sample string 1",
      "Route": "sample string 2",
      "DefaultContact": "sample string 3",
      "ContactName": "sample string 4",
      "Mail": "sample string 5",
      "Mobile": {},
      "Device": {}
    }
  ],
  "ClientPhones": [
    {
      "Contact": "sample string 1",
      "Route": "sample string 2",
      "DefaultContact": "sample string 3",
      "ContactName": "sample string 4",
      "Mail": "sample string 5",
      "Mobile": "sample string 6",
      "Device": "sample string 7"
    },
    {
      "Contact": "sample string 1",
      "Route": "sample string 2",
      "DefaultContact": "sample string 3",
      "ContactName": "sample string 4",
      "Mail": "sample string 5",
      "Mobile": "sample string 6",
      "Device": "sample string 7"
    }
  ],
  "ClientDevices": [
    {
      "Contact": "sample string 1",
      "Route": "sample string 2",
      "DefaultContact": "sample string 3",
      "ContactName": "sample string 4",
      "Mail": "sample string 5",
      "Mobile": "sample string 6",
      "Device": "sample string 7"
    },
    {
      "Contact": "sample string 1",
      "Route": "sample string 2",
      "DefaultContact": "sample string 3",
      "ContactName": "sample string 4",
      "Mail": "sample string 5",
      "Mobile": "sample string 6",
      "Device": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<ClientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hackathon.Models">
  <Client>
    <BirthDate>7</BirthDate>
    <CategoryType>sample string 1</CategoryType>
    <ClientCategory>sample string 11</ClientCategory>
    <FirstName>sample string 2</FirstName>
    <FirstNameInt>sample string 4</FirstNameInt>
    <LastName>sample string 3</LastName>
    <LastNameInt>sample string 5</LastNameInt>
    <Pin>sample string 10</Pin>
    <Resident>sample string 9</Resident>
    <Sex>sample string 6</Sex>
    <TranStatus>sample string 8</TranStatus>
  </Client>
  <ClientAddresses>
    <ClientAddress>
      <AddressType>sample string 1</AddressType>
      <Appartment>7</Appartment>
      <Building>sample string 6</Building>
      <ClientKey>2</ClientKey>
      <CountryCode>sample string 3</CountryCode>
      <District>sample string 8</District>
      <NonCity>sample string 9</NonCity>
      <RegionCode>sample string 4</RegionCode>
      <Street>sample string 5</Street>
      <UrbanType>sample string 10</UrbanType>
    </ClientAddress>
    <ClientAddress>
      <AddressType>sample string 1</AddressType>
      <Appartment>7</Appartment>
      <Building>sample string 6</Building>
      <ClientKey>2</ClientKey>
      <CountryCode>sample string 3</CountryCode>
      <District>sample string 8</District>
      <NonCity>sample string 9</NonCity>
      <RegionCode>sample string 4</RegionCode>
      <Street>sample string 5</Street>
      <UrbanType>sample string 10</UrbanType>
    </ClientAddress>
  </ClientAddresses>
  <ClientDevices>
    <ClientDevice>
      <Contact>sample string 1</Contact>
      <ContactName>sample string 4</ContactName>
      <DefaultContact>sample string 3</DefaultContact>
      <Device>sample string 7</Device>
      <Mail>sample string 5</Mail>
      <Mobile>sample string 6</Mobile>
      <Route>sample string 2</Route>
    </ClientDevice>
    <ClientDevice>
      <Contact>sample string 1</Contact>
      <ContactName>sample string 4</ContactName>
      <DefaultContact>sample string 3</DefaultContact>
      <Device>sample string 7</Device>
      <Mail>sample string 5</Mail>
      <Mobile>sample string 6</Mobile>
      <Route>sample string 2</Route>
    </ClientDevice>
  </ClientDevices>
  <ClientMails>
    <ClientMail>
      <Contact>sample string 1</Contact>
      <ContactName>sample string 4</ContactName>
      <DefaultContact>sample string 3</DefaultContact>
      <Device />
      <Mail>sample string 5</Mail>
      <Mobile />
      <Route>sample string 2</Route>
    </ClientMail>
    <ClientMail>
      <Contact>sample string 1</Contact>
      <ContactName>sample string 4</ContactName>
      <DefaultContact>sample string 3</DefaultContact>
      <Device />
      <Mail>sample string 5</Mail>
      <Mobile />
      <Route>sample string 2</Route>
    </ClientMail>
  </ClientMails>
  <ClientPhones>
    <ClientPhone>
      <Contact>sample string 1</Contact>
      <ContactName>sample string 4</ContactName>
      <DefaultContact>sample string 3</DefaultContact>
      <Device>sample string 7</Device>
      <Mail>sample string 5</Mail>
      <Mobile>sample string 6</Mobile>
      <Route>sample string 2</Route>
    </ClientPhone>
    <ClientPhone>
      <Contact>sample string 1</Contact>
      <ContactName>sample string 4</ContactName>
      <DefaultContact>sample string 3</DefaultContact>
      <Device>sample string 7</Device>
      <Mail>sample string 5</Mail>
      <Mobile>sample string 6</Mobile>
      <Route>sample string 2</Route>
    </ClientPhone>
  </ClientPhones>
</ClientInfo>