POST api/Account/GetUserServices

Request Information

URI Parameters

None.

Body Parameters

GetUserServicesRequest
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

application/xml, text/xml

Sample:
<GetUserServicesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account">
  <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</Token>
</GetUserServicesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetUserServicesResponse
NameDescriptionTypeAdditional information
UserServices

Collection of UserService

None.

ErrorCode

string

None.

ErrorMessage

string

None.

ErrorCategory

string

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserServices": [
    {
      "AzUserServiceId": "sample string 1",
      "AzServiceId": 2,
      "Quantity": 3.0,
      "StartDate": "2021-05-17T17:09:21.3058368+03:00",
      "EndDate": "2021-05-17T17:09:21.3058368+03:00",
      "UsedQuantity": 6.0,
      "ServiceName": "sample string 7",
      "ServiceDesc": "sample string 8",
      "PaymentId": "sample string 9",
      "ProfileId": "sample string 10"
    },
    {
      "AzUserServiceId": "sample string 1",
      "AzServiceId": 2,
      "Quantity": 3.0,
      "StartDate": "2021-05-17T17:09:21.3058368+03:00",
      "EndDate": "2021-05-17T17:09:21.3058368+03:00",
      "UsedQuantity": 6.0,
      "ServiceName": "sample string 7",
      "ServiceDesc": "sample string 8",
      "PaymentId": "sample string 9",
      "ProfileId": "sample string 10"
    }
  ],
  "ErrorCode": "sample string 1",
  "ErrorMessage": "sample string 2",
  "ErrorCategory": "sample string 3",
  "Result": true
}

application/xml, text/xml

Sample:
<GetUserServicesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Account">
  <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 3</ErrorCategory>
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</ErrorCode>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</ErrorMessage>
  <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result>
  <UserServices>
    <UserService>
      <AzServiceId>2</AzServiceId>
      <AzUserServiceId>sample string 1</AzUserServiceId>
      <EndDate>2021-05-17T17:09:21.3058368+03:00</EndDate>
      <PaymentId>sample string 9</PaymentId>
      <ProfileId>sample string 10</ProfileId>
      <Quantity>3</Quantity>
      <ServiceDesc>sample string 8</ServiceDesc>
      <ServiceName>sample string 7</ServiceName>
      <StartDate>2021-05-17T17:09:21.3058368+03:00</StartDate>
      <UsedQuantity>6</UsedQuantity>
    </UserService>
    <UserService>
      <AzServiceId>2</AzServiceId>
      <AzUserServiceId>sample string 1</AzUserServiceId>
      <EndDate>2021-05-17T17:09:21.3058368+03:00</EndDate>
      <PaymentId>sample string 9</PaymentId>
      <ProfileId>sample string 10</ProfileId>
      <Quantity>3</Quantity>
      <ServiceDesc>sample string 8</ServiceDesc>
      <ServiceName>sample string 7</ServiceName>
      <StartDate>2021-05-17T17:09:21.3058368+03:00</StartDate>
      <UsedQuantity>6</UsedQuantity>
    </UserService>
  </UserServices>
</GetUserServicesResponse>