POST api/bo/servicedemo
สร้างข้อมูล Demo Group
Request Information
URI Parameters
None.
Body Parameters
m_servicedemo_create_request| Name | Description | Type | Additional information |
|---|---|---|---|
| group_name | string |
String length: inclusive between 0 and 70 |
|
| group_description | string |
String length: inclusive between 0 and 1000 |
|
| expire_fixed | boolean |
None. |
|
| expire_days | integer |
None. |
|
| start_date | date |
None. |
|
| expire_date | date |
None. |
|
| bidder_amount | integer |
Range: inclusive between 1 and 10 |
Request Formats
application/json, text/json
Sample:
{
"group_name": "sample string 1",
"group_description": "sample string 2",
"expire_fixed": true,
"expire_days": 1,
"start_date": "2025-12-06T12:19:43.3955756+07:00",
"expire_date": "2025-12-06T12:19:43.3955756+07:00",
"bidder_amount": 4
}
application/xml, text/xml
Sample:
<m_servicedemo_create_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice"> <bidder_amount>4</bidder_amount> <expire_date>2025-12-06T12:19:43.3955756+07:00</expire_date> <expire_days>1</expire_days> <expire_fixed>true</expire_fixed> <group_description>sample string 2</group_description> <group_name>sample string 1</group_name> <start_date>2025-12-06T12:19:43.3955756+07:00</start_date> </m_servicedemo_create_request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.