POST api/CustomerGroup
Creates new CustomerGroup.
Request Information
URI Parameters
None.
Body Parameters
CustomerGroup.
CustomerGroupName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
CustomerGroupId | integer |
None. |
|
CustomerGroupName | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
CustomerCount | integer |
None. |
|
GlobalId | string |
None. |
|
OrganizationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "CustomerGroupId": 2, "CustomerGroupName": "sample string 3", "UpdatedDate": "2025-01-15T17:07:58.5097796+00:00", "UpdatedBy": "sample string 4", "UpdatedByName": "sample string 5", "CustomerCount": 1, "GlobalId": "sample string 6", "OrganizationId": 1 }
application/xml, text/xml
Sample:
<CustomerGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CustomerCount>1</CustomerCount> <CustomerGroupId>2</CustomerGroupId> <CustomerGroupName>sample string 3</CustomerGroupName> <GlobalId>sample string 6</GlobalId> <OrganizationId>1</OrganizationId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 4</UpdatedBy> <UpdatedByName>sample string 5</UpdatedByName> <UpdatedDate>2025-01-15T17:07:58.5097796+00:00</UpdatedDate> </CustomerGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerGroupName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
CustomerGroupId | integer |
None. |
|
CustomerGroupName | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
CustomerCount | integer |
None. |
|
GlobalId | string |
None. |
|
OrganizationId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "CustomerGroupId": 2, "CustomerGroupName": "sample string 3", "UpdatedDate": "2025-01-15T17:07:58.6191589+00:00", "UpdatedBy": "sample string 4", "UpdatedByName": "sample string 5", "CustomerCount": 1, "GlobalId": "sample string 6", "OrganizationId": 1 }
application/xml, text/xml
Sample:
<CustomerGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <CustomerCount>1</CustomerCount> <CustomerGroupId>2</CustomerGroupId> <CustomerGroupName>sample string 3</CustomerGroupName> <GlobalId>sample string 6</GlobalId> <OrganizationId>1</OrganizationId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 4</UpdatedBy> <UpdatedByName>sample string 5</UpdatedByName> <UpdatedDate>2025-01-15T17:07:58.6191589+00:00</UpdatedDate> </CustomerGroup>