POST update/approval

Request Information

URI Parameters

None.

Body Parameters

DtoApproval
NameDescriptionTypeAdditional information
JournalId

integer

None.

RequestId

integer

None.

ToApproveId

integer

None.

ApproveorReject

boolean

None.

CommentForApprovel

integer

None.

RequestOn

string

None.

ApproveOn

string

None.

RejectOn

string

None.

Request Formats

application/json, text/json

Sample:
{
  "JournalId": 1,
  "RequestId": 2,
  "ToApproveId": 3,
  "ApproveorReject": true,
  "CommentForApprovel": 5,
  "RequestOn": "sample string 6",
  "ApproveOn": "sample string 7",
  "RejectOn": "sample string 8"
}

application/xml, text/xml

Sample:
<DtoApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.JSLD.Interface.Business.Dtos.Approval">
  <ApproveOn>sample string 7</ApproveOn>
  <ApproveorReject>true</ApproveorReject>
  <CommentForApprovel>5</CommentForApprovel>
  <JournalId>1</JournalId>
  <RejectOn>sample string 8</RejectOn>
  <RequestId>2</RequestId>
  <RequestOn>sample string 6</RequestOn>
  <ToApproveId>3</ToApproveId>
</DtoApproval>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.