POST api/message/send-invoice

Request Information

URI Parameters

None.

Body Parameters

ChargeMessage
NameDescriptionTypeAdditional information
ClientId

integer

None.

ClientName

string

None.

CurrentYear

integer

None.

CurrentMonth

integer

None.

CurrentDate

integer

None.

AmountTemp

string

None.

ValorTotalLiberadoParaPagarCliente

string

None.

AmountTemp1

string

None.

CustomerComment

string

None.

CommentBoleto

string

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "ClientName": "sample string 2",
  "CurrentYear": 3,
  "CurrentMonth": 4,
  "CurrentDate": 5,
  "AmountTemp": "sample string 6",
  "ValorTotalLiberadoParaPagarCliente": "sample string 7",
  "AmountTemp1": "sample string 8",
  "CustomerComment": "sample string 9",
  "CommentBoleto": "sample string 10",
  "Comment": "sample string 11"
}

text/html

Sample:
{"ClientId":1,"ClientName":"sample string 2","CurrentYear":3,"CurrentMonth":4,"CurrentDate":5,"AmountTemp":"sample string 6","ValorTotalLiberadoParaPagarCliente":"sample string 7","AmountTemp1":"sample string 8","CustomerComment":"sample string 9","CommentBoleto":"sample string 10","Comment":"sample string 11"}

application/xml, text/xml

Sample:
<ChargeMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.message">
  <AmountTemp>sample string 6</AmountTemp>
  <AmountTemp1>sample string 8</AmountTemp1>
  <ClientId>1</ClientId>
  <ClientName>sample string 2</ClientName>
  <Comment>sample string 11</Comment>
  <CommentBoleto>sample string 10</CommentBoleto>
  <CurrentDate>5</CurrentDate>
  <CurrentMonth>4</CurrentMonth>
  <CurrentYear>3</CurrentYear>
  <CustomerComment>sample string 9</CustomerComment>
  <ValorTotalLiberadoParaPagarCliente>sample string 7</ValorTotalLiberadoParaPagarCliente>
</ChargeMessage>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.