POST api/projectone/P1ProjectMultilingualLabels2
Batch get multilingual label of a P1 Project
Request Information
URI Parameters
None.
Body Parameters
P1ProjectMultilingualLabels2Binder| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
None. |
|
| SpaceId | integer |
None. |
|
| LabelIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"SpaceId": 2,
"LabelIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<P1ProjectMultilingualLabels2Binder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
<LabelIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</LabelIds>
<ProjectId>1</ProjectId>
<SpaceId>2</SpaceId>
</P1ProjectMultilingualLabels2Binder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Batch get multilingual label of a P1 Project
API_Data_IEnumerableOfLanguageFieldLabel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of LanguageFieldLabel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"LabelId": 1,
"Texts": [
{
"LanguageId": 1,
"Text": "sample string 2"
},
{
"LanguageId": 1,
"Text": "sample string 2"
}
]
},
{
"LabelId": 1,
"Texts": [
{
"LanguageId": 1,
"Text": "sample string 2"
},
{
"LanguageId": 1,
"Text": "sample string 2"
}
]
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfLanguageFieldLabel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data>
<LanguageFieldLabel>
<LabelId>1</LabelId>
<Texts>
<MultilingualItem>
<LanguageId>1</LanguageId>
<Text>sample string 2</Text>
</MultilingualItem>
<MultilingualItem>
<LanguageId>1</LanguageId>
<Text>sample string 2</Text>
</MultilingualItem>
</Texts>
</LanguageFieldLabel>
<LanguageFieldLabel>
<LabelId>1</LabelId>
<Texts>
<MultilingualItem>
<LanguageId>1</LanguageId>
<Text>sample string 2</Text>
</MultilingualItem>
<MultilingualItem>
<LanguageId>1</LanguageId>
<Text>sample string 2</Text>
</MultilingualItem>
</Texts>
</LanguageFieldLabel>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfLanguageFieldLabel>