PUT api/Projects/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ProjectsName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
title | Translation |
None. |
|
is_finished | boolean |
None. |
|
SectorsId | integer |
None. |
|
Sectors | Sectors |
None. |
|
sector_title | Translation |
None. |
|
intro_text | Translation |
None. |
|
about | Translation |
None. |
|
contractors | Translation |
None. |
|
achivements | Translation |
None. |
|
tags | string |
None. |
|
organizations_id | Collection of integer |
None. |
|
is_published | boolean |
None. |
|
title_mp3 | Translation |
None. |
|
title_log | Translation |
None. |
|
description_mp3 | Translation |
None. |
|
description_log | Translation |
None. |
|
intro_text_mp3 | Translation |
None. |
|
intro_text_log | Translation |
None. |
|
about_mp3 | Translation |
None. |
|
about_log | Translation |
None. |
|
contractors_mp3 | Translation |
None. |
|
contractors_log | Translation |
None. |
|
achivements_mp3 | Translation |
None. |
|
achivements_log | Translation |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "title": { "en": "sample string 1", "bhs": "sample string 2" }, "is_finished": true, "SectorsId": 1, "Sectors": { "id": 1, "title": { "en": "sample string 1", "bhs": "sample string 2" }, "intro": { "en": "sample string 1", "bhs": "sample string 2" }, "tags": "sample string 2", "is_published": true, "title_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "title_log": { "en": "sample string 1", "bhs": "sample string 2" }, "intro_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "intro_log": { "en": "sample string 1", "bhs": "sample string 2" } }, "sector_title": { "en": "sample string 1", "bhs": "sample string 2" }, "intro_text": { "en": "sample string 1", "bhs": "sample string 2" }, "about": { "en": "sample string 1", "bhs": "sample string 2" }, "contractors": { "en": "sample string 1", "bhs": "sample string 2" }, "achivements": { "en": "sample string 1", "bhs": "sample string 2" }, "tags": "sample string 3", "organizations_id": [ 1, 2 ], "is_published": true, "title_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "title_log": { "en": "sample string 1", "bhs": "sample string 2" }, "description_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "description_log": { "en": "sample string 1", "bhs": "sample string 2" }, "intro_text_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "intro_text_log": { "en": "sample string 1", "bhs": "sample string 2" }, "about_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "about_log": { "en": "sample string 1", "bhs": "sample string 2" }, "contractors_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "contractors_log": { "en": "sample string 1", "bhs": "sample string 2" }, "achivements_mp3": { "en": "sample string 1", "bhs": "sample string 2" }, "achivements_log": { "en": "sample string 1", "bhs": "sample string 2" } }
application/xml, text/xml
Sample:
<Projects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/euResursApi.Models"> <Sectors> <id>1</id> <intro> <bhs>sample string 2</bhs> <en>sample string 1</en> </intro> <intro_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </intro_log> <intro_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </intro_mp3> <is_published>true</is_published> <tags>sample string 2</tags> <title> <bhs>sample string 2</bhs> <en>sample string 1</en> </title> <title_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </title_log> <title_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </title_mp3> </Sectors> <SectorsId>1</SectorsId> <about> <bhs>sample string 2</bhs> <en>sample string 1</en> </about> <about_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </about_log> <about_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </about_mp3> <achivements> <bhs>sample string 2</bhs> <en>sample string 1</en> </achivements> <achivements_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </achivements_log> <achivements_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </achivements_mp3> <contractors> <bhs>sample string 2</bhs> <en>sample string 1</en> </contractors> <contractors_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </contractors_log> <contractors_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </contractors_mp3> <description_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </description_log> <description_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </description_mp3> <id>1</id> <intro_text> <bhs>sample string 2</bhs> <en>sample string 1</en> </intro_text> <intro_text_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </intro_text_log> <intro_text_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </intro_text_mp3> <is_finished>true</is_finished> <is_published>true</is_published> <organizations_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:long>1</d2p1:long> <d2p1:long>2</d2p1:long> </organizations_id> <sector_title> <bhs>sample string 2</bhs> <en>sample string 1</en> </sector_title> <tags>sample string 3</tags> <title> <bhs>sample string 2</bhs> <en>sample string 1</en> </title> <title_log> <bhs>sample string 2</bhs> <en>sample string 1</en> </title_log> <title_mp3> <bhs>sample string 2</bhs> <en>sample string 1</en> </title_mp3> </Projects>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.