PATCH api/ApprovalRequests
Request Information
URI Parameters
None.
Body Parameters
ApprovalRequestName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
ApprovalTemplatesID | integer |
None. |
|
ObjectType | string |
None. |
|
IsDraft | string |
None. |
|
ObjectEntry | integer |
None. |
|
Status | string |
None. |
|
Remarks | string |
None. |
|
CurrentStage | integer |
None. |
|
OriginatorID | integer |
None. |
|
CreationDate | date |
None. |
|
CreationTime | string |
None. |
|
DraftEntry | integer |
None. |
|
DraftType | string |
None. |
|
ApprovalRequestLines | Collection of ApprovalRequestLine |
None. |
|
ApprovalRequestDecisions | Collection of ApprovalRequestDecision |
None. |
Request Formats
application/json, text/json
Sample:
{ "Code": 1, "ApprovalTemplatesID": 2, "ObjectType": "sample string 3", "IsDraft": "sample string 4", "ObjectEntry": 1, "Status": "sample string 5", "Remarks": "sample string 6", "CurrentStage": 7, "OriginatorID": 8, "CreationDate": "2025-04-03T20:40:21.7004417-06:00", "CreationTime": "sample string 10", "DraftEntry": 11, "DraftType": "sample string 12", "ApprovalRequestLines": [ { "StageCode": 1, "UserID": 2, "Status": "sample string 3", "Remarks": "sample string 4", "UpdateDate": "2025-04-03T20:40:21.7014283-06:00", "UpdateTime": "sample string 6", "CreationDate": "2025-04-03T20:40:21.7014283-06:00", "CreationTime": "sample string 8" }, { "StageCode": 1, "UserID": 2, "Status": "sample string 3", "Remarks": "sample string 4", "UpdateDate": "2025-04-03T20:40:21.7014283-06:00", "UpdateTime": "sample string 6", "CreationDate": "2025-04-03T20:40:21.7014283-06:00", "CreationTime": "sample string 8" } ], "ApprovalRequestDecisions": [ { "Status": "sample string 1", "Remarks": "sample string 2" }, { "Status": "sample string 1", "Remarks": "sample string 2" } ] }
application/xml, text/xml
Sample:
<ApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP"> <ApprovalRequestDecisions> <ApprovalRequestDecision> <Remarks>sample string 2</Remarks> <Status>sample string 1</Status> </ApprovalRequestDecision> <ApprovalRequestDecision> <Remarks>sample string 2</Remarks> <Status>sample string 1</Status> </ApprovalRequestDecision> </ApprovalRequestDecisions> <ApprovalRequestLines> <ApprovalRequestLine> <CreationDate>2025-04-03T20:40:21.7014283-06:00</CreationDate> <CreationTime>sample string 8</CreationTime> <Remarks>sample string 4</Remarks> <StageCode>1</StageCode> <Status>sample string 3</Status> <UpdateDate>2025-04-03T20:40:21.7014283-06:00</UpdateDate> <UpdateTime>sample string 6</UpdateTime> <UserID>2</UserID> </ApprovalRequestLine> <ApprovalRequestLine> <CreationDate>2025-04-03T20:40:21.7014283-06:00</CreationDate> <CreationTime>sample string 8</CreationTime> <Remarks>sample string 4</Remarks> <StageCode>1</StageCode> <Status>sample string 3</Status> <UpdateDate>2025-04-03T20:40:21.7014283-06:00</UpdateDate> <UpdateTime>sample string 6</UpdateTime> <UserID>2</UserID> </ApprovalRequestLine> </ApprovalRequestLines> <ApprovalTemplatesID>2</ApprovalTemplatesID> <Code>1</Code> <CreationDate>2025-04-03T20:40:21.7004417-06:00</CreationDate> <CreationTime>sample string 10</CreationTime> <CurrentStage>7</CurrentStage> <DraftEntry>11</DraftEntry> <DraftType>sample string 12</DraftType> <IsDraft>sample string 4</IsDraft> <ObjectEntry>1</ObjectEntry> <ObjectType>sample string 3</ObjectType> <OriginatorID>8</OriginatorID> <Remarks>sample string 6</Remarks> <Status>sample string 5</Status> </ApprovalRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |