POST api/Employmentstatus/EditVeteranstatus

Request Information

URI Parameters

None.

Body Parameters

Veteranstatus
NameDescriptionTypeAdditional information
id

integer

None.

veteranstatus

string

None.

description

string

None.

createdby

integer

None.

modifiedby

integer

None.

createddate

date

None.

modifieddate

date

None.

isactive

byte

None.

StatusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "veteranstatus": "sample string 2",
  "description": "sample string 3",
  "createdby": 1,
  "modifiedby": 1,
  "createddate": "2019-06-18T00:47:52.969-04:00",
  "modifieddate": "2019-06-18T00:47:52.969-04:00",
  "isactive": 64,
  "StatusMessage": "sample string 4"
}

text/html

Sample:
{"id":1,"veteranstatus":"sample string 2","description":"sample string 3","createdby":1,"modifiedby":1,"createddate":"2019-06-18T00:47:52.969-04:00","modifieddate":"2019-06-18T00:47:52.969-04:00","isactive":64,"StatusMessage":"sample string 4"}

application/xml, text/xml

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

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

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.