POST api/Descriptor/AddPrimary
Request Information
URI Parameters
None.
Body Parameters
PrimaryName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
IndexNo | string |
None. |
|
Id | integer |
None. |
|
Id_Condition | integer |
None. |
|
Legend | string |
None. |
|
Value1 | string |
None. |
|
Value2 | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "IndexNo": "sample string 2", "Id": 3, "Id_Condition": 4, "Legend": "sample string 5", "Value1": "sample string 6", "Value2": "sample string 7", "CreatedBy": "sample string 8", "CreatedOn": "sample string 9" }
application/xml, text/xml
Sample:
<Primary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication5.Models"> <CreatedBy>sample string 8</CreatedBy> <CreatedOn>sample string 9</CreatedOn> <Id>3</Id> <Id_Condition>4</Id_Condition> <Legend>sample string 5</Legend> <Value1>sample string 6</Value1> <Value2>sample string 7</Value2> <IndexNo>sample string 2</IndexNo> <Title>sample string 1</Title> </Primary>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>