GET api/customergroup
Returns all Customer Groups
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerGroupName | Description | Type | Additional information |
---|---|---|---|
CustomerGroupId |
Sedona internal autonumber for the Customer Group record |
integer |
None. |
CustomerGroupCode |
Abbreviated Customer Group Code |
string |
String length: inclusive between 0 and 25 |
Description |
Full description of Customer Group |
string |
String length: inclusive between 0 and 50 |
Inactive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CustomerGroupId": 1, "CustomerGroupCode": "sample string 2", "Description": "sample string 3", "Inactive": true }, { "CustomerGroupId": 1, "CustomerGroupCode": "sample string 2", "Description": "sample string 3", "Inactive": true } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <CustomerGroup> <CustomerGroupCode>sample string 2</CustomerGroupCode> <CustomerGroupId>1</CustomerGroupId> <Description>sample string 3</Description> <Inactive>true</Inactive> </CustomerGroup> <CustomerGroup> <CustomerGroupCode>sample string 2</CustomerGroupCode> <CustomerGroupId>1</CustomerGroupId> <Description>sample string 3</Description> <Inactive>true</Inactive> </CustomerGroup> </ArrayOfCustomerGroup>