POST api/Client/Definition/DeletePeriod

Request Information

URI Parameters

None.

Body Parameters

PeriodSearchModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Status

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Status": 3,
  "CompanyId": 4
}

application/xml, text/xml

Sample:
<PeriodSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
  <CompanyId>4</CompanyId>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Status>3</Status>
</PeriodSearchModel>

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

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModel>