GET api/charging/last

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

text/html

Sample:
[1,2]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of LastCharging
NameDescriptionTypeAdditional information
ClientId

integer

None.

CommentFoneclube

string

None.

CommentBoleto

string

None.

CommentEmail

string

None.

Amount

integer

None.

ChargeType

integer

None.

DateCharged

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClientId": 1,
    "CommentFoneclube": "sample string 1",
    "CommentBoleto": "sample string 2",
    "CommentEmail": "sample string 3",
    "Amount": 4,
    "ChargeType": 1,
    "DateCharged": "2024-11-16T18:25:43.3775796-03:00"
  },
  {
    "ClientId": 1,
    "CommentFoneclube": "sample string 1",
    "CommentBoleto": "sample string 2",
    "CommentEmail": "sample string 3",
    "Amount": 4,
    "ChargeType": 1,
    "DateCharged": "2024-11-16T18:25:43.3775796-03:00"
  }
]

text/html

Sample:
[{"ClientId":1,"CommentFoneclube":"sample string 1","CommentBoleto":"sample string 2","CommentEmail":"sample string 3","Amount":4,"ChargeType":1,"DateCharged":"2024-11-16T18:25:43.3775796-03:00"},{"ClientId":1,"CommentFoneclube":"sample string 1","CommentBoleto":"sample string 2","CommentEmail":"sample string 3","Amount":4,"ChargeType":1,"DateCharged":"2024-11-16T18:25:43.3775796-03:00"}]

application/xml, text/xml

Sample:
<ArrayOfLastCharging xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <LastCharging>
    <Amount>4</Amount>
    <ChargeType>1</ChargeType>
    <ClientId>1</ClientId>
    <CommentBoleto>sample string 2</CommentBoleto>
    <CommentEmail>sample string 3</CommentEmail>
    <CommentFoneclube>sample string 1</CommentFoneclube>
    <DateCharged>2024-11-16T18:25:43.3775796-03:00</DateCharged>
  </LastCharging>
  <LastCharging>
    <Amount>4</Amount>
    <ChargeType>1</ChargeType>
    <ClientId>1</ClientId>
    <CommentBoleto>sample string 2</CommentBoleto>
    <CommentEmail>sample string 3</CommentEmail>
    <CommentFoneclube>sample string 1</CommentFoneclube>
    <DateCharged>2024-11-16T18:25:43.3775796-03:00</DateCharged>
  </LastCharging>
</ArrayOfLastCharging>