GET api/comission/comission/detalhes/quatro-amigos

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

IdPagarme

integer

None.

DocumentNumber

string

None.

Register

date

None.

Name

string

None.

Filhos

Collection of Filho

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "IdPagarme": 2,
    "DocumentNumber": "sample string 3",
    "Register": "2024-11-16T18:29:09.9456328-03:00",
    "Name": "sample string 5",
    "Filhos": [
      {
        "Id": 1,
        "IdPagarme": 2,
        "DocumentNumber": "sample string 3",
        "Register": "2024-11-16T18:29:09.9456328-03:00",
        "Name": "sample string 5",
        "Phones": [
          {
            "Id": 1,
            "IdPlan": 2
          },
          {
            "Id": 1,
            "IdPlan": 2
          }
        ],
        "UltimoPagamento": "sample string 6",
        "DiasDoPagamento": 7
      },
      {
        "Id": 1,
        "IdPagarme": 2,
        "DocumentNumber": "sample string 3",
        "Register": "2024-11-16T18:29:09.9456328-03:00",
        "Name": "sample string 5",
        "Phones": [
          {
            "Id": 1,
            "IdPlan": 2
          },
          {
            "Id": 1,
            "IdPlan": 2
          }
        ],
        "UltimoPagamento": "sample string 6",
        "DiasDoPagamento": 7
      }
    ]
  },
  {
    "Id": 1,
    "IdPagarme": 2,
    "DocumentNumber": "sample string 3",
    "Register": "2024-11-16T18:29:09.9456328-03:00",
    "Name": "sample string 5",
    "Filhos": [
      {
        "Id": 1,
        "IdPagarme": 2,
        "DocumentNumber": "sample string 3",
        "Register": "2024-11-16T18:29:09.9456328-03:00",
        "Name": "sample string 5",
        "Phones": [
          {
            "Id": 1,
            "IdPlan": 2
          },
          {
            "Id": 1,
            "IdPlan": 2
          }
        ],
        "UltimoPagamento": "sample string 6",
        "DiasDoPagamento": 7
      },
      {
        "Id": 1,
        "IdPagarme": 2,
        "DocumentNumber": "sample string 3",
        "Register": "2024-11-16T18:29:09.9456328-03:00",
        "Name": "sample string 5",
        "Phones": [
          {
            "Id": 1,
            "IdPlan": 2
          },
          {
            "Id": 1,
            "IdPlan": 2
          }
        ],
        "UltimoPagamento": "sample string 6",
        "DiasDoPagamento": 7
      }
    ]
  }
]

text/html

Sample:
[{"Id":1,"IdPagarme":2,"DocumentNumber":"sample string 3","Register":"2024-11-16T18:29:09.9456328-03:00","Name":"sample string 5","Filhos":[{"Id":1,"IdPagarme":2,"DocumentNumber":"sample string 3","Register":"2024-11-16T18:29:09.9456328-03:00","Name":"sample string 5","Phones":[{"Id":1,"IdPlan":2},{"Id":1,"IdPlan":2}],"UltimoPagamento":"sample string 6","DiasDoPagamento":7},{"Id":1,"IdPagarme":2,"DocumentNumber":"sample string 3","Register":"2024-11-16T18:29:09.9456328-03:00","Name":"sample string 5","Phones":[{"Id":1,"IdPlan":2},{"Id":1,"IdPlan":2}],"UltimoPagamento":"sample string 6","DiasDoPagamento":7}]},{"Id":1,"IdPagarme":2,"DocumentNumber":"sample string 3","Register":"2024-11-16T18:29:09.9456328-03:00","Name":"sample string 5","Filhos":[{"Id":1,"IdPagarme":2,"DocumentNumber":"sample string 3","Register":"2024-11-16T18:29:09.9456328-03:00","Name":"sample string 5","Phones":[{"Id":1,"IdPlan":2},{"Id":1,"IdPlan":2}],"UltimoPagamento":"sample string 6","DiasDoPagamento":7},{"Id":1,"IdPagarme":2,"DocumentNumber":"sample string 3","Register":"2024-11-16T18:29:09.9456328-03:00","Name":"sample string 5","Phones":[{"Id":1,"IdPlan":2},{"Id":1,"IdPlan":2}],"UltimoPagamento":"sample string 6","DiasDoPagamento":7}]}]

application/xml, text/xml

Sample:
<ArrayOfCustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.ViewModel.Amigos">
  <CustomerViewModel>
    <DocumentNumber>sample string 3</DocumentNumber>
    <Filhos>
      <Filho>
        <DiasDoPagamento>7</DiasDoPagamento>
        <DocumentNumber>sample string 3</DocumentNumber>
        <Id>1</Id>
        <IdPagarme>2</IdPagarme>
        <Name>sample string 5</Name>
        <Phones>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
        </Phones>
        <Register>2024-11-16T18:29:09.9456328-03:00</Register>
        <UltimoPagamento>sample string 6</UltimoPagamento>
      </Filho>
      <Filho>
        <DiasDoPagamento>7</DiasDoPagamento>
        <DocumentNumber>sample string 3</DocumentNumber>
        <Id>1</Id>
        <IdPagarme>2</IdPagarme>
        <Name>sample string 5</Name>
        <Phones>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
        </Phones>
        <Register>2024-11-16T18:29:09.9456328-03:00</Register>
        <UltimoPagamento>sample string 6</UltimoPagamento>
      </Filho>
    </Filhos>
    <Id>1</Id>
    <IdPagarme>2</IdPagarme>
    <Name>sample string 5</Name>
    <Register>2024-11-16T18:29:09.9456328-03:00</Register>
  </CustomerViewModel>
  <CustomerViewModel>
    <DocumentNumber>sample string 3</DocumentNumber>
    <Filhos>
      <Filho>
        <DiasDoPagamento>7</DiasDoPagamento>
        <DocumentNumber>sample string 3</DocumentNumber>
        <Id>1</Id>
        <IdPagarme>2</IdPagarme>
        <Name>sample string 5</Name>
        <Phones>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
        </Phones>
        <Register>2024-11-16T18:29:09.9456328-03:00</Register>
        <UltimoPagamento>sample string 6</UltimoPagamento>
      </Filho>
      <Filho>
        <DiasDoPagamento>7</DiasDoPagamento>
        <DocumentNumber>sample string 3</DocumentNumber>
        <Id>1</Id>
        <IdPagarme>2</IdPagarme>
        <Name>sample string 5</Name>
        <Phones>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
          <PhoneFilho>
            <Id>1</Id>
            <IdPlan>2</IdPlan>
          </PhoneFilho>
        </Phones>
        <Register>2024-11-16T18:29:09.9456328-03:00</Register>
        <UltimoPagamento>sample string 6</UltimoPagamento>
      </Filho>
    </Filhos>
    <Id>1</Id>
    <IdPagarme>2</IdPagarme>
    <Name>sample string 5</Name>
    <Register>2024-11-16T18:29:09.9456328-03:00</Register>
  </CustomerViewModel>
</ArrayOfCustomerViewModel>