POST api/ApproveAndReject/ClaimApproval
Request Information
URI Parameters
None.
Body Parameters
ClaimApprovalObjName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
Token | string |
None. |
|
Status | integer |
None. |
|
ListObj | Collection of ApproveClaimEntityObj |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "Token": "sample string 2", "Status": 3, "ListObj": [ { "claimId": 1, "AppliedBy": 2, "ApprovedBy": 3, "ReportLevel": "sample string 4", "LevelSetup": "sample string 5", "Remarks": "sample string 6", "Type": "sample string 7" }, { "claimId": 1, "AppliedBy": 2, "ApprovedBy": 3, "ReportLevel": "sample string 4", "LevelSetup": "sample string 5", "Remarks": "sample string 6", "Type": "sample string 7" } ] }
text/html
Sample:
{"UserId":1,"Token":"sample string 2","Status":3,"ListObj":[{"claimId":1,"AppliedBy":2,"ApprovedBy":3,"ReportLevel":"sample string 4","LevelSetup":"sample string 5","Remarks":"sample string 6","Type":"sample string 7"},{"claimId":1,"AppliedBy":2,"ApprovedBy":3,"ReportLevel":"sample string 4","LevelSetup":"sample string 5","Remarks":"sample string 6","Type":"sample string 7"}]}
application/xml, text/xml
Sample:
<ApproveAndRejectController.ClaimApprovalObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <ListObj> <ApproveAndRejectController.ApproveClaimEntityObj> <AppliedBy>2</AppliedBy> <ApprovedBy>3</ApprovedBy> <LevelSetup>sample string 5</LevelSetup> <Remarks>sample string 6</Remarks> <ReportLevel>sample string 4</ReportLevel> <Type>sample string 7</Type> <claimId>1</claimId> </ApproveAndRejectController.ApproveClaimEntityObj> <ApproveAndRejectController.ApproveClaimEntityObj> <AppliedBy>2</AppliedBy> <ApprovedBy>3</ApprovedBy> <LevelSetup>sample string 5</LevelSetup> <Remarks>sample string 6</Remarks> <ReportLevel>sample string 4</ReportLevel> <Type>sample string 7</Type> <claimId>1</claimId> </ApproveAndRejectController.ApproveClaimEntityObj> </ListObj> <Status>3</Status> <Token>sample string 2</Token> <UserId>1</UserId> </ApproveAndRejectController.ClaimApprovalObj>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of Object [key] and Object [value]Response Formats
application/json, text/json, text/html
Sample:
{"System.Object":{},"System.Object":{}}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> </ArrayOfKeyValueOfanyTypeanyType>