POST api/Specs/Size/SizeGroup/AddMultipleMemberSizeGroup
Request Information
URI Parameters
None.
Body Parameters
StoneFactoryAPI.Models.SpecsModel+MultipleSizeGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| displayName | string |
None. |
|
| sizeIds | string |
None. |
|
| id | integer |
None. |
|
| groupId | integer |
None. |
|
| changed | string |
None. |
|
| groupName | string |
None. |
|
| userId | integer |
None. |
|
| noOfSizes | integer |
None. |
|
| addedBy | string |
None. |
|
| sizes | Collection of StoneFactoryAPI.Models.SpecsModel+SingleSize |
None. |
Request Formats
application/json, text/json
Sample:
{
"displayName": "sample string 1",
"sizeIds": "sample string 2",
"id": 3,
"groupId": 4,
"changed": "sample string 5",
"groupName": "sample string 6",
"userId": 7,
"noOfSizes": 8,
"addedBy": "sample string 9",
"sizes": [
{
"displayName": "sample string 1",
"id": 2,
"length": 3,
"length_in_px": 4,
"unit": "sample string 5",
"user_id": 6,
"width": 7,
"width_in_px": 8
},
{
"displayName": "sample string 1",
"id": 2,
"length": 3,
"length_in_px": 4,
"unit": "sample string 5",
"user_id": 6,
"width": 7,
"width_in_px": 8
}
]
}
application/xml, text/xml
Sample:
<SpecsModel.MultipleSizeGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
<addedBy>sample string 9</addedBy>
<groupName>sample string 6</groupName>
<noOfSizes>8</noOfSizes>
<sizes>
<SpecsModel.SingleSize>
<displayName>sample string 1</displayName>
<id>2</id>
<length>3</length>
<length_in_px>4</length_in_px>
<unit>sample string 5</unit>
<user_id>6</user_id>
<width>7</width>
<width_in_px>8</width_in_px>
</SpecsModel.SingleSize>
<SpecsModel.SingleSize>
<displayName>sample string 1</displayName>
<id>2</id>
<length>3</length>
<length_in_px>4</length_in_px>
<unit>sample string 5</unit>
<user_id>6</user_id>
<width>7</width>
<width_in_px>8</width_in_px>
</SpecsModel.SingleSize>
</sizes>
<userId>7</userId>
<changed>sample string 5</changed>
<displayName>sample string 1</displayName>
<groupId>4</groupId>
<id>3</id>
<sizeIds>sample string 2</sizeIds>
</SpecsModel.MultipleSizeGroup>
multipart/form-data
Sample:
<SpecsModel.MultipleSizeGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><addedBy>sample string 9</addedBy><groupName>sample string 6</groupName><noOfSizes>8</noOfSizes><sizes><SpecsModel.SingleSize><displayName>sample string 1</displayName><id>2</id><length>3</length><length_in_px>4</length_in_px><unit>sample string 5</unit><user_id>6</user_id><width>7</width><width_in_px>8</width_in_px></SpecsModel.SingleSize><SpecsModel.SingleSize><displayName>sample string 1</displayName><id>2</id><length>3</length><length_in_px>4</length_in_px><unit>sample string 5</unit><user_id>6</user_id><width>7</width><width_in_px>8</width_in_px></SpecsModel.SingleSize></sizes><userId>7</userId><changed>sample string 5</changed><displayName>sample string 1</displayName><groupId>4</groupId><id>3</id><sizeIds>sample string 2</sizeIds></SpecsModel.MultipleSizeGroup>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |