GET api/cfgServiceUnit
Get all values from the ServiceUnits table
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
cfgServiceUnitDb| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceUnitID | integer |
None. |
|
| ServiceUnitCode | string |
Required Max length: 2 |
|
| ProductUnit | boolean |
None. |
|
| ServiceUnitDescription | string |
Max length: 20 |
|
| PickingServiceNumber | integer |
None. |
|
| PickingServiceID | integer |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"ServiceUnitID": 1,
"ServiceUnitCode": "sample string 2",
"ProductUnit": true,
"ServiceUnitDescription": "sample string 4",
"PickingServiceNumber": 1,
"PickingServiceID": 1,
"IsActive": true,
"CreatedBy": 6,
"CreatedDate": "2025-12-06T23:37:42.3001165+00:00",
"UpdatedBy": 8,
"UpdatedDate": "2025-12-06T23:37:42.3001165+00:00"
}
application/xml, text/xml
Sample:
<cfgServiceUnitDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<CreatedBy>6</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:37:42.3001165Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<IsActive>true</IsActive>
<PickingServiceID>1</PickingServiceID>
<PickingServiceNumber>1</PickingServiceNumber>
<ProductUnit>true</ProductUnit>
<ServiceUnitCode>sample string 2</ServiceUnitCode>
<ServiceUnitDescription>sample string 4</ServiceUnitDescription>
<ServiceUnitID>1</ServiceUnitID>
<UpdatedBy>8</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:37:42.3001165Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
</cfgServiceUnitDb>