PUT web/Approval/ApprovalPolicy

Request Information

URI Parameters

None.

Body Parameters

UpdateEsignApproval
NameDescriptionTypeAdditional information
approval

UpdateApproval

None.

detail

Collection of ApprovalDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "approval": {
    "record_id": 1,
    "approval_level": 2
  },
  "detail": [
    {
      "users": {
        "value": "sample string 1",
        "id": 2
      },
      "approval_type": {
        "value": "sample string 1",
        "id": 2
      }
    },
    {
      "users": {
        "value": "sample string 1",
        "id": 2
      },
      "approval_type": {
        "value": "sample string 1",
        "id": 2
      }
    }
  ]
}

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

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.