POST api/Employmentstatus/CreatePayfrequencyes

Request Information

URI Parameters

None.

Body Parameters

Payfrequency
NameDescriptionTypeAdditional information
id

integer

None.

freqtype

string

None.

freqcode

string

None.

freqdescription

string

None.

createdby

integer

None.

modifiedby

integer

None.

createddate

date

None.

modifieddate

date

None.

isactive

integer

None.

StatusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "freqtype": "sample string 2",
  "freqcode": "sample string 3",
  "freqdescription": "sample string 4",
  "createdby": 1,
  "modifiedby": 1,
  "createddate": "2019-06-18T00:47:15.346-04:00",
  "modifieddate": "2019-06-18T00:47:15.346-04:00",
  "isactive": 1,
  "StatusMessage": "sample string 5"
}

text/html

Sample:
{"id":1,"freqtype":"sample string 2","freqcode":"sample string 3","freqdescription":"sample string 4","createdby":1,"modifiedby":1,"createddate":"2019-06-18T00:47:15.346-04:00","modifieddate":"2019-06-18T00:47:15.346-04:00","isactive":1,"StatusMessage":"sample string 5"}

application/xml, text/xml

Sample:
<Payfrequency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RtsDb.Service.Models.EmployeeConfig">
  <StatusMessage>sample string 5</StatusMessage>
  <createdby>1</createdby>
  <createddate>2019-06-18T00:47:15.346-04:00</createddate>
  <freqcode>sample string 3</freqcode>
  <freqdescription>sample string 4</freqdescription>
  <freqtype>sample string 2</freqtype>
  <id>1</id>
  <isactive>1</isactive>
  <modifiedby>1</modifiedby>
  <modifieddate>2019-06-18T00:47:15.346-04:00</modifieddate>
</Payfrequency>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.