POST api/charging/cielo/history/insert
Request Information
URI Parameters
None.
Body Parameters
CieloPaymentModelName | Description | Type | Additional information |
---|---|---|---|
OrderId | string |
None. |
|
CustomerId | integer |
None. |
|
CustomerIdERP | integer |
None. |
|
PaymentId | string |
None. |
|
PaymentMethod | integer |
None. |
|
Amount | decimal number |
None. |
|
Currency | string |
None. |
|
PaymentDate | date |
None. |
|
PaymentGateway | string |
None. |
|
Card | string |
None. |
|
Address | Adress |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": "sample string 1", "CustomerId": 2, "CustomerIdERP": 3, "PaymentId": "sample string 4", "PaymentMethod": 5, "Amount": 6.0, "Currency": "sample string 7", "PaymentDate": "2024-11-16T18:23:01.9108461-03:00", "PaymentGateway": "sample string 9", "Card": "sample string 10", "Address": { "Street": "sample string 1", "Complement": "sample string 2", "StreetNumber": "sample string 3", "Neighborhood": "sample string 4", "City": "sample string 5", "State": "sample string 6", "Cep": "sample string 7", "Country": "sample string 8" } }
text/html
Sample:
{"OrderId":"sample string 1","CustomerId":2,"CustomerIdERP":3,"PaymentId":"sample string 4","PaymentMethod":5,"Amount":6.0,"Currency":"sample string 7","PaymentDate":"2024-11-16T18:23:01.9108461-03:00","PaymentGateway":"sample string 9","Card":"sample string 10","Address":{"Street":"sample string 1","Complement":"sample string 2","StreetNumber":"sample string 3","Neighborhood":"sample string 4","City":"sample string 5","State":"sample string 6","Cep":"sample string 7","Country":"sample string 8"}}
application/xml, text/xml
Sample:
<CieloPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.Cielo"> <Address xmlns:d2p1="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube"> <d2p1:Cep>sample string 7</d2p1:Cep> <d2p1:City>sample string 5</d2p1:City> <d2p1:Complement>sample string 2</d2p1:Complement> <d2p1:Country>sample string 8</d2p1:Country> <d2p1:Neighborhood>sample string 4</d2p1:Neighborhood> <d2p1:State>sample string 6</d2p1:State> <d2p1:Street>sample string 1</d2p1:Street> <d2p1:StreetNumber>sample string 3</d2p1:StreetNumber> </Address> <Amount>6</Amount> <Card>sample string 10</Card> <Currency>sample string 7</Currency> <CustomerId>2</CustomerId> <CustomerIdERP>3</CustomerIdERP> <OrderId>sample string 1</OrderId> <PaymentDate>2024-11-16T18:23:01.9108461-03:00</PaymentDate> <PaymentGateway>sample string 9</PaymentGateway> <PaymentId>sample string 4</PaymentId> <PaymentMethod>5</PaymentMethod> </CieloPaymentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>