GET api/LeadConfiguration/GetRating?ApiToken={ApiToken}&LeadRatingID={LeadRatingID}&LeadRatingCode={LeadRatingCode}&LeadRatingName={LeadRatingName}&IsActive={IsActive}&PageNumber={PageNumber}&PageSize={PageSize}
Gets the lead rating.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ApiToken | string |
None. |
|
LeadRatingID | integer |
None. |
|
LeadRatingCode | string |
None. |
|
LeadRatingName | string |
None. |
|
IsActive | integer |
None. |
|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
The HTTP response message containing the lead rating response data.
LeadRatingResponseDataModelName | Description | Type | Additional information |
---|---|---|---|
_objLeadRating | Collection of LeadRatingDataModel |
None. |
|
ReturnID | integer |
Required |
|
Message | string |
Required |
|
Successful | boolean |
Required |
|
Code | integer |
None. |
|
TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "_objLeadRating": [ { "leadRatingID": 1, "leadRatingCode": "sample string 1", "leadRatingName": "sample string 2", "description": "sample string 3", "isActive": 1, "isDeleted": 1, "addedBy": 1, "addedDate": "2025-07-17T05:16:34.7457491+00:00", "modifiedBy": 1, "modifiedDate": "2025-07-17T05:16:34.7457491+00:00", "totalRecord": 4 }, { "leadRatingID": 1, "leadRatingCode": "sample string 1", "leadRatingName": "sample string 2", "description": "sample string 3", "isActive": 1, "isDeleted": 1, "addedBy": 1, "addedDate": "2025-07-17T05:16:34.7457491+00:00", "modifiedBy": 1, "modifiedDate": "2025-07-17T05:16:34.7457491+00:00", "totalRecord": 4 } ], "returnID": 1, "message": "sample string 2", "successful": true, "code": 4, "totalRecord": 5 }
application/xml, text/xml
Sample:
<LeadRatingResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code> <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message> <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID> <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful> <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord> <_objLeadRating> <LeadRatingDataModel> <AddedBy>1</AddedBy> <AddedDate>2025-07-17T05:16:34.7457491+00:00</AddedDate> <Description>sample string 3</Description> <IsActive>1</IsActive> <IsDeleted>1</IsDeleted> <LeadRatingCode>sample string 1</LeadRatingCode> <LeadRatingID>1</LeadRatingID> <LeadRatingName>sample string 2</LeadRatingName> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-07-17T05:16:34.7457491+00:00</ModifiedDate> <TotalRecord>4</TotalRecord> </LeadRatingDataModel> <LeadRatingDataModel> <AddedBy>1</AddedBy> <AddedDate>2025-07-17T05:16:34.7457491+00:00</AddedDate> <Description>sample string 3</Description> <IsActive>1</IsActive> <IsDeleted>1</IsDeleted> <LeadRatingCode>sample string 1</LeadRatingCode> <LeadRatingID>1</LeadRatingID> <LeadRatingName>sample string 2</LeadRatingName> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2025-07-17T05:16:34.7457491+00:00</ModifiedDate> <TotalRecord>4</TotalRecord> </LeadRatingDataModel> </_objLeadRating> </LeadRatingResponseDataModel>
multipart/form-data
Sample:
<LeadRatingResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord><_objLeadRating><LeadRatingDataModel><AddedBy>1</AddedBy><AddedDate>2025-07-17T05:16:34.7457491+00:00</AddedDate><Description>sample string 3</Description><IsActive>1</IsActive><IsDeleted>1</IsDeleted><LeadRatingCode>sample string 1</LeadRatingCode><LeadRatingID>1</LeadRatingID><LeadRatingName>sample string 2</LeadRatingName><ModifiedBy>1</ModifiedBy><ModifiedDate>2025-07-17T05:16:34.7457491+00:00</ModifiedDate><TotalRecord>4</TotalRecord></LeadRatingDataModel><LeadRatingDataModel><AddedBy>1</AddedBy><AddedDate>2025-07-17T05:16:34.7457491+00:00</AddedDate><Description>sample string 3</Description><IsActive>1</IsActive><IsDeleted>1</IsDeleted><LeadRatingCode>sample string 1</LeadRatingCode><LeadRatingID>1</LeadRatingID><LeadRatingName>sample string 2</LeadRatingName><ModifiedBy>1</ModifiedBy><ModifiedDate>2025-07-17T05:16:34.7457491+00:00</ModifiedDate><TotalRecord>4</TotalRecord></LeadRatingDataModel></_objLeadRating></LeadRatingResponseDataModel>