GET api/SetupPICustomerLevel/{accountId}/{companyId}/{showActiveOnly}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
|
| companyId | string |
Required |
|
| showActiveOnly | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of SetupPICustomerLevel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceMasterLevel | string |
None. |
|
| LevelDescription | string |
None. |
|
| IsActive | boolean |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | string |
None. |
|
| IsLockedForEditing | boolean |
None. |
|
| LockedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServiceMasterLevel": "sample string 1",
"LevelDescription": "sample string 2",
"IsActive": true,
"AccountId": 4,
"CompanyId": "sample string 5",
"CreatedOn": "2025-12-16T14:54:13.6834005+00:00",
"CreatedBy": "sample string 7",
"UpdatedOn": "2025-12-16T14:54:13.6834005+00:00",
"UpdatedBy": "sample string 8",
"IsLockedForEditing": true,
"LockedBy": "sample string 10"
},
{
"ServiceMasterLevel": "sample string 1",
"LevelDescription": "sample string 2",
"IsActive": true,
"AccountId": 4,
"CompanyId": "sample string 5",
"CreatedOn": "2025-12-16T14:54:13.6834005+00:00",
"CreatedBy": "sample string 7",
"UpdatedOn": "2025-12-16T14:54:13.6834005+00:00",
"UpdatedBy": "sample string 8",
"IsLockedForEditing": true,
"LockedBy": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfSetupPICustomerLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
<SetupPICustomerLevel>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">4</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 5</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:54:13.6834005+00:00</CreatedOn>
<IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
<LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</LockedBy>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</UpdatedBy>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:54:13.6834005+00:00</UpdatedOn>
<IsActive>true</IsActive>
<LevelDescription>sample string 2</LevelDescription>
<ServiceMasterLevel>sample string 1</ServiceMasterLevel>
</SetupPICustomerLevel>
<SetupPICustomerLevel>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">4</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 5</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:54:13.6834005+00:00</CreatedOn>
<IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">true</IsLockedForEditing>
<LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 10</LockedBy>
<UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 8</UpdatedBy>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T14:54:13.6834005+00:00</UpdatedOn>
<IsActive>true</IsActive>
<LevelDescription>sample string 2</LevelDescription>
<ServiceMasterLevel>sample string 1</ServiceMasterLevel>
</SetupPICustomerLevel>
</ArrayOfSetupPICustomerLevel>