POST api/v2/SafetyIq/Weights
Request Information
URI Parameters
None.
Body Parameters
WeightsIn| Name | Description | Type | Additional information |
|---|---|---|---|
| Weights | Collection of WeightIn |
None. |
Request Formats
application/json, text/json
Sample:
{
"Weights": [
{
"Key": "sample string 1",
"Weight": 2
},
{
"Key": "sample string 1",
"Weight": 2
}
]
}
application/xml, text/xml
Sample:
<SafetyIqV2Controller.WeightsIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icculus.Portal.Controllers.V2">
<Weights>
<SafetyIqV2Controller.WeightIn>
<Key>sample string 1</Key>
<Weight>2</Weight>
</SafetyIqV2Controller.WeightIn>
<SafetyIqV2Controller.WeightIn>
<Key>sample string 1</Key>
<Weight>2</Weight>
</SafetyIqV2Controller.WeightIn>
</Weights>
</SafetyIqV2Controller.WeightsIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />