POST api/facil/addCompleteOrderDetail

Request Information

URI Parameters

None.

Body Parameters

CompleteOrderDetails
NameDescriptionTypeAdditional information
IdCustomerFoneclube

integer

None.

intIdTrans

integer

None.

fullName

string

None.

orderId

string

None.

title

string

None.

currencyCode

string

None.

price

string

None.

providerName

string

None.

providerLogo

string

None.

data

string

None.

validity

string

None.

createdDate

date

None.

lineItemDetails

Collection of lineItemDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "IdCustomerFoneclube": 1,
  "intIdTrans": 2,
  "fullName": "sample string 3",
  "orderId": "sample string 4",
  "title": "sample string 5",
  "currencyCode": "sample string 6",
  "price": "sample string 7",
  "providerName": "sample string 8",
  "providerLogo": "sample string 9",
  "data": "sample string 10",
  "validity": "sample string 11",
  "createdDate": "2024-11-16T18:31:13.2625991-03:00",
  "lineItemDetails": [
    {
      "name": "sample string 1",
      "value": "sample string 2"
    },
    {
      "name": "sample string 1",
      "value": "sample string 2"
    }
  ]
}

text/html

Sample:
{"IdCustomerFoneclube":1,"intIdTrans":2,"fullName":"sample string 3","orderId":"sample string 4","title":"sample string 5","currencyCode":"sample string 6","price":"sample string 7","providerName":"sample string 8","providerLogo":"sample string 9","data":"sample string 10","validity":"sample string 11","createdDate":"2024-11-16T18:31:13.2625991-03:00","lineItemDetails":[{"name":"sample string 1","value":"sample string 2"},{"name":"sample string 1","value":"sample string 2"}]}

application/xml, text/xml

Sample:
<CompleteOrderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <IdCustomerFoneclube>1</IdCustomerFoneclube>
  <createdDate>2024-11-16T18:31:13.2625991-03:00</createdDate>
  <currencyCode>sample string 6</currencyCode>
  <data>sample string 10</data>
  <fullName>sample string 3</fullName>
  <intIdTrans>2</intIdTrans>
  <lineItemDetails>
    <lineItemDetails>
      <name>sample string 1</name>
      <value>sample string 2</value>
    </lineItemDetails>
    <lineItemDetails>
      <name>sample string 1</name>
      <value>sample string 2</value>
    </lineItemDetails>
  </lineItemDetails>
  <orderId>sample string 4</orderId>
  <price>sample string 7</price>
  <providerLogo>sample string 9</providerLogo>
  <providerName>sample string 8</providerName>
  <title>sample string 5</title>
  <validity>sample string 11</validity>
</CompleteOrderDetails>

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 'CompleteOrderDetails'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.