POST api/v1/message/resources
Request Information
URI Parameters
None.
Body Parameters
Collection of ManagableResourceName | Description | Type | Additional information |
---|---|---|---|
key | string |
Required |
|
value_en | string |
Required Max length: 2000 |
|
value_th | string |
Required Max length: 2000 |
|
required_parameters | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "key": "sample string 1", "value_en": "sample string 2", "value_th": "sample string 3", "required_parameters": [ "sample string 1", "sample string 2" ] }, { "key": "sample string 1", "value_en": "sample string 2", "value_th": "sample string 3", "required_parameters": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
Sample:
<ArrayOfManagableResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDCM.MyServices.Models"> <ManagableResource> <Key>sample string 1</Key> <RequiredParameter xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </RequiredParameter> <ValueEn>sample string 2</ValueEn> <ValueTh>sample string 3</ValueTh> </ManagableResource> <ManagableResource> <Key>sample string 1</Key> <RequiredParameter xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </RequiredParameter> <ValueEn>sample string 2</ValueEn> <ValueTh>sample string 3</ValueTh> </ManagableResource> </ArrayOfManagableResource>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.