POST api/whatsapp/notify/cart/plans

Request Information

URI Parameters

None.

Body Parameters

CartViewModel
NameDescriptionTypeAdditional information
PersonId

integer

None.

Plans

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "Plans": "sample string 2"
}

text/html

Sample:
{"PersonId":1,"Plans":"sample string 2"}

application/xml, text/xml

Sample:
<CartViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.ViewModel.Plano">
  <PersonId>1</PersonId>
  <Plans>sample string 2</Plans>
</CartViewModel>

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

Response Information

Resource Description

None.