POST api/FacilPlans/person/UpdateNegtiveAllowance

Request Information

URI Parameters

None.

Body Parameters

UpdateNegtiveAllowance
NameDescriptionTypeAdditional information
Id

integer

None.

NegtiveAllowance

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "NegtiveAllowance": 2.1
}

text/html

Sample:
{"Id":1,"NegtiveAllowance":2.1}

application/xml, text/xml

Sample:
<UpdateNegtiveAllowance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <Id>1</Id>
  <NegtiveAllowance>2.1</NegtiveAllowance>
</UpdateNegtiveAllowance>

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

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
Data

Object

None.

Info

string

None.

Error

string

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Info": "sample string 2",
  "Error": "sample string 3",
  "Status": true
}

text/html

Sample:
{"Data":{},"Info":"sample string 2","Error":"sample string 3","Status":true}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <Data />
  <Error>sample string 3</Error>
  <Info>sample string 2</Info>
  <Status>true</Status>
</GenericResponse>