GET api/chgServiceCode

Get all values from the ServiceCodes table

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

chgServiceCodeDb
NameDescriptionTypeAdditional information
ServiceCodeID

integer

None.

ServiceCode

integer

Required

ServiceName

string

Required

Max length: 40

ServiceUnit

string

Required

Max length: 2

ServiceCharge

decimal number

Required

ServiceIsCostBased

boolean

None.

ServiceCostMarkup

decimal number

None.

ServiceDescription

string

None.

ServiceProcessCode

string

Max length: 1

ExternalReference

string

Max length: 30

ManualShipment

boolean

None.

ManualShipmentByPallet

boolean

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,
  "ServiceCodeID": 1,
  "ServiceCode": 2,
  "ServiceName": "sample string 3",
  "ServiceUnit": "sample string 4",
  "ServiceCharge": 5.0,
  "ServiceIsCostBased": true,
  "ServiceCostMarkup": 1.0,
  "ServiceDescription": "sample string 6",
  "ServiceProcessCode": "sample string 7",
  "ExternalReference": "sample string 8",
  "ManualShipment": true,
  "ManualShipmentByPallet": true,
  "IsActive": true,
  "CreatedBy": 12,
  "CreatedDate": "2025-12-06T23:37:52.9210592+00:00",
  "UpdatedBy": 14,
  "UpdatedDate": "2025-12-06T23:37:52.9210592+00:00"
}

application/xml, text/xml

Sample:
<chgServiceCodeDb 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>12</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:52.9210592Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <ExternalReference>sample string 8</ExternalReference>
  <IsActive>true</IsActive>
  <ManualShipment>true</ManualShipment>
  <ManualShipmentByPallet>true</ManualShipmentByPallet>
  <ServiceCharge>5</ServiceCharge>
  <ServiceCode>2</ServiceCode>
  <ServiceCodeID>1</ServiceCodeID>
  <ServiceCostMarkup>1</ServiceCostMarkup>
  <ServiceDescription>sample string 6</ServiceDescription>
  <ServiceIsCostBased>true</ServiceIsCostBased>
  <ServiceName>sample string 3</ServiceName>
  <ServiceProcessCode>sample string 7</ServiceProcessCode>
  <ServiceUnit>sample string 4</ServiceUnit>
  <UpdatedBy>14</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:37:52.9210592Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</chgServiceCodeDb>