GET api/v2/package
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CodeWithName| Name | Description | Type | Additional information |
|---|---|---|---|
| Seq | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| NameTh | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Seq": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"NameTh": "sample string 4"
},
{
"Seq": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"NameTh": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfCodeWithName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XOneApi.DataModels.ResultModels">
<CodeWithName>
<Code>sample string 2</Code>
<Name>sample string 3</Name>
<NameTh>sample string 4</NameTh>
<Seq>1</Seq>
</CodeWithName>
<CodeWithName>
<Code>sample string 2</Code>
<Name>sample string 3</Name>
<NameTh>sample string 4</NameTh>
<Seq>1</Seq>
</CodeWithName>
</ArrayOfCodeWithName>