POST api/DegreeOfRisk/GetAll
Request Information
URI Parameters
None.
Body Parameters
DegreeOfRiskListerName | Description | Type | Additional information |
---|---|---|---|
DegreeOfRisks | Collection of DegreeOfRisk |
None. |
|
SearchCriteria | DegreeOfRisk |
None. |
|
Pager | Pager |
None. |
Request Formats
application/json, text/json
Sample:
{ "DegreeOfRisks": [ { "Id": 1, "Description": "sample string 2", "MinScore": 3, "MaxScore": 4, "BGColor": "sample string 5", "CreatedBy": 6, "CreatedDate": "2025-08-29T20:27:47.1259644+00:00", "LastModifiedBy": 8, "LastModifiedDate": "2025-08-29T20:27:47.1259644+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:27:47.1259644+00:00" }, { "Id": 1, "Description": "sample string 2", "MinScore": 3, "MaxScore": 4, "BGColor": "sample string 5", "CreatedBy": 6, "CreatedDate": "2025-08-29T20:27:47.1259644+00:00", "LastModifiedBy": 8, "LastModifiedDate": "2025-08-29T20:27:47.1259644+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:27:47.1259644+00:00" } ], "SearchCriteria": { "Id": 1, "Description": "sample string 2", "MinScore": 3, "MaxScore": 4, "BGColor": "sample string 5", "CreatedBy": 6, "CreatedDate": "2025-08-29T20:27:47.1259644+00:00", "LastModifiedBy": 8, "LastModifiedDate": "2025-08-29T20:27:47.1259644+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:27:47.1259644+00:00" }, "Pager": { "PageSize": 1, "Take": 2, "Skip": 3, "CurrentPage": 4.0, "TotalPage": "sample string 5", "TotalRecord": 6.0 } }
application/xml, text/xml
Sample:
<DegreeOfRiskLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <DegreeOfRisks> <DegreeOfRisk> <BGColor>sample string 5</BGColor> <CreatedBy>6</CreatedBy> <CreatedDate>2025-08-29T20:27:47.1259644+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:27:47.1259644+00:00</DeletedDate> <Description>sample string 2</Description> <Id>1</Id> <LastModifiedBy>8</LastModifiedBy> <LastModifiedDate>2025-08-29T20:27:47.1259644+00:00</LastModifiedDate> <MaxScore>4</MaxScore> <MinScore>3</MinScore> </DegreeOfRisk> <DegreeOfRisk> <BGColor>sample string 5</BGColor> <CreatedBy>6</CreatedBy> <CreatedDate>2025-08-29T20:27:47.1259644+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:27:47.1259644+00:00</DeletedDate> <Description>sample string 2</Description> <Id>1</Id> <LastModifiedBy>8</LastModifiedBy> <LastModifiedDate>2025-08-29T20:27:47.1259644+00:00</LastModifiedDate> <MaxScore>4</MaxScore> <MinScore>3</MinScore> </DegreeOfRisk> </DegreeOfRisks> <Pager> <CurrentPage>4</CurrentPage> <PageSize>1</PageSize> <Skip>3</Skip> <Take>2</Take> <TotalPage>sample string 5</TotalPage> <TotalRecord>6</TotalRecord> </Pager> <SearchCriteria> <BGColor>sample string 5</BGColor> <CreatedBy>6</CreatedBy> <CreatedDate>2025-08-29T20:27:47.1259644+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:27:47.1259644+00:00</DeletedDate> <Description>sample string 2</Description> <Id>1</Id> <LastModifiedBy>8</LastModifiedBy> <LastModifiedDate>2025-08-29T20:27:47.1259644+00:00</LastModifiedDate> <MaxScore>4</MaxScore> <MinScore>3</MinScore> </SearchCriteria> </DegreeOfRiskLister>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.