POST api/TrialSet/AddTrialSet
Request Information
URI Parameters
None.
Body Parameters
TrialSetName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
SetId | string |
None. |
|
Type | string |
None. |
|
SetName | string |
None. |
|
BrandName | string |
None. |
|
Upc | string |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
CreatedBy | string |
None. |
|
ModifiedBy | string |
None. |
|
Items | Collection of TrialSetItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "SetId": "sample string 2", "Type": "sample string 3", "SetName": "sample string 4", "BrandName": "sample string 5", "Upc": "sample string 6", "CreatedDate": "2025-03-27T08:34:19.7750166+00:00", "ModifiedDate": "2025-03-27T08:34:19.7750166+00:00", "CreatedBy": "sample string 9", "ModifiedBy": "sample string 10", "Items": [ { "Sku": "sample string 1", "ClubModel": "sample string 2", "ClubType": "sample string 3", "Description": "sample string 4", "ContractValue": 5.1 }, { "Sku": "sample string 1", "ClubModel": "sample string 2", "ClubType": "sample string 3", "Description": "sample string 4", "ContractValue": 5.1 } ] }
application/xml, text/xml
Sample:
<TrialSet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>sample string 1</Id> <SetId>sample string 2</SetId> <Type>sample string 3</Type> <SetName>sample string 4</SetName> <BrandName>sample string 5</BrandName> <Upc>sample string 6</Upc> <CreatedDate>2025-03-27T08:34:19.7750166+00:00</CreatedDate> <ModifiedDate>2025-03-27T08:34:19.7750166+00:00</ModifiedDate> <CreatedBy>sample string 9</CreatedBy> <ModifiedBy>sample string 10</ModifiedBy> <Items> <TrialSetItem> <Sku>sample string 1</Sku> <ClubModel>sample string 2</ClubModel> <ClubType>sample string 3</ClubType> <Description>sample string 4</Description> <ContractValue>5.1</ContractValue> </TrialSetItem> <TrialSetItem> <Sku>sample string 1</Sku> <ClubModel>sample string 2</ClubModel> <ClubType>sample string 3</ClubType> <Description>sample string 4</Description> <ContractValue>5.1</ContractValue> </TrialSetItem> </Items> </TrialSet>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.