POST api/projects/single?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Project| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| ProjectImages | Collection of ProjectImage |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"ProjectImages": [
{
"ID": 1,
"Path": "sample string 2",
"ProjectID": 3
},
{
"ID": 1,
"Path": "sample string 2",
"ProjectID": 3
}
]
}
application/xml, text/xml
Sample:
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tabreed_API.Models">
<Description>sample string 3</Description>
<ID>1</ID>
<ProjectImages>
<ProjectImage>
<ID>1</ID>
<Path>sample string 2</Path>
<ProjectID>3</ProjectID>
</ProjectImage>
<ProjectImage>
<ID>1</ID>
<Path>sample string 2</Path>
<ProjectID>3</ProjectID>
</ProjectImage>
</ProjectImages>
<Title>sample string 2</Title>
</Project>
multipart/form-data
Sample:
<Project xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tabreed_API.Models"><Description>sample string 3</Description><ID>1</ID><ProjectImages><ProjectImage><ID>1</ID><Path>sample string 2</Path><ProjectID>3</ProjectID></ProjectImage><ProjectImage><ID>1</ID><Path>sample string 2</Path><ProjectID>3</ProjectID></ProjectImage></ProjectImages><Title>sample string 2</Title></Project>