POST api/KeyNotes
Request Information
URI Parameters
None.
Body Parameters
SpecCodes| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Spec_Code | string |
None. |
|
| KeyNotes | Collection of KeyNotes |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Spec_Code": "sample string 2",
"KeyNotes": [
{
"Id": 1,
"Spec_Code_ID": 2,
"Legend": "sample string 3",
"Keynote": "sample string 4"
},
{
"Id": 1,
"Spec_Code_ID": 2,
"Legend": "sample string 3",
"Keynote": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<SpecCodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication5.Models">
<Id>1</Id>
<KeyNotes>
<KeyNotes>
<Id>1</Id>
<Keynote>sample string 4</Keynote>
<Legend>sample string 3</Legend>
<Spec_Code_ID>2</Spec_Code_ID>
</KeyNotes>
<KeyNotes>
<Id>1</Id>
<Keynote>sample string 4</Keynote>
<Legend>sample string 3</Legend>
<Spec_Code_ID>2</Spec_Code_ID>
</KeyNotes>
</KeyNotes>
<Spec_Code>sample string 2</Spec_Code>
</SpecCodes>
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>