POST api/CompanyService

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "companyServiceId": 1,
  "createdOn": "2020-09-29T08:55:07.5922225+00:00",
  "createdBy": "21c2c4c9-e4aa-4497-822d-106c30c6ae5b",
  "updatedOn": "2020-09-29T08:55:07.5922225+00:00",
  "updatedBy": "dec4a3f7-7e66-4792-b0df-671e195e993d",
  "deletedOn": "2020-09-29T08:55:07.5922225+00:00",
  "name": "sample string 4",
  "code": "sample string 5",
  "description": "sample string 6",
  "amount": 1.0,
  "isService": true,
  "barcode": "sample string 8",
  "message": "sample string 9"
}

application/xml, text/xml

Sample:
<CompanyServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <amount>1</amount>
  <barcode>sample string 8</barcode>
  <code>sample string 5</code>
  <companyServiceId>1</companyServiceId>
  <createdBy>21c2c4c9-e4aa-4497-822d-106c30c6ae5b</createdBy>
  <createdOn>2020-09-29T08:55:07.5922225+00:00</createdOn>
  <deletedOn>2020-09-29T08:55:07.5922225+00:00</deletedOn>
  <description>sample string 6</description>
  <isService>true</isService>
  <message>sample string 9</message>
  <name>sample string 4</name>
  <updatedBy>dec4a3f7-7e66-4792-b0df-671e195e993d</updatedBy>
  <updatedOn>2020-09-29T08:55:07.5922225+00:00</updatedOn>
</CompanyServiceModel>

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