POST api/Pictures
Request Information
URI Parameters
None.
Body Parameters
Picture| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Url | string |
None. |
|
| Comment | string |
None. |
|
| NoteId | globally unique identifier |
None. |
|
| Title | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ea2df1ce-2477-44a5-a645-4fef9c2fa877",
"Url": "sample string 2",
"Comment": "sample string 3",
"NoteId": "b3b393af-82d4-46aa-8323-062c8cd746ec",
"Title": "sample string 5"
}
application/xml, text/xml
Sample:
<Picture xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fagtorget.DTO.Notes"> <Comment>sample string 3</Comment> <Id>ea2df1ce-2477-44a5-a645-4fef9c2fa877</Id> <NoteId>b3b393af-82d4-46aa-8323-062c8cd746ec</NoteId> <Title>sample string 5</Title> <Url>sample string 2</Url> </Picture>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.