POST api/projectone/SaveP1ProjectMultilingualLabels
save multilingual label
Request Information
URI Parameters
None.
Body Parameters
SaveP1ProjectMultilingualLabelsBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
SpaceId | integer |
None. |
|
LabelId | integer |
None. |
|
Labels | Collection of MultilingualItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectId": 1, "SpaceId": 2, "LabelId": 3, "Labels": [ { "LanguageId": 1, "Text": "sample string 2" }, { "LanguageId": 1, "Text": "sample string 2" } ] }
application/xml, text/xml
Sample:
<SaveP1ProjectMultilingualLabelsBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne"> <LabelId>3</LabelId> <Labels xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <d2p1:MultilingualItem> <d2p1:LanguageId>1</d2p1:LanguageId> <d2p1:Text>sample string 2</d2p1:Text> </d2p1:MultilingualItem> <d2p1:MultilingualItem> <d2p1:LanguageId>1</d2p1:LanguageId> <d2p1:Text>sample string 2</d2p1:Text> </d2p1:MultilingualItem> </Labels> <ProjectId>1</ProjectId> <SpaceId>2</SpaceId> </SaveP1ProjectMultilingualLabelsBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
save multilingual label
ApiReturnName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" } }
application/xml, text/xml
Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </ApiReturn>