GET api/customergroup/{id}
Returns the specified Customer Group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerGroup| Name | 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
}
application/xml, text/xml
Sample:
<CustomerGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <CustomerGroupCode>sample string 2</CustomerGroupCode> <CustomerGroupId>1</CustomerGroupId> <Description>sample string 3</Description> <Inactive>true</Inactive> </CustomerGroup>