POST api/Employmentstatus/EditIdentitydocument

Request Information

URI Parameters

None.

Body Parameters

Identitydocument
NameDescriptionTypeAdditional information
id

integer

None.

document_name

string

None.

mandatory

integer

None.

expiry

integer

None.

description

string

None.

createdby

decimal number

None.

modifiedby

decimal number

None.

createddate

date

None.

modifieddate

date

None.

isactive

boolean

None.

StatusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "document_name": "sample string 2",
  "mandatory": 1,
  "expiry": 1,
  "description": "sample string 3",
  "createdby": 1.0,
  "modifiedby": 1.0,
  "createddate": "2019-06-18T01:51:34.536-04:00",
  "modifieddate": "2019-06-18T01:51:34.536-04:00",
  "isactive": true,
  "StatusMessage": "sample string 4"
}

text/html

Sample:
{"id":1,"document_name":"sample string 2","mandatory":1,"expiry":1,"description":"sample string 3","createdby":1.0,"modifiedby":1.0,"createddate":"2019-06-18T01:51:34.536-04:00","modifieddate":"2019-06-18T01:51:34.536-04:00","isactive":true,"StatusMessage":"sample string 4"}

application/xml, text/xml

Sample:
<Identitydocument 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-18T01:51:34.536-04:00</createddate>
  <description>sample string 3</description>
  <document_name>sample string 2</document_name>
  <expiry>1</expiry>
  <id>1</id>
  <isactive>true</isactive>
  <mandatory>1</mandatory>
  <modifiedby>1</modifiedby>
  <modifieddate>2019-06-18T01:51:34.536-04:00</modifieddate>
</Identitydocument>

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

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.