POST api/Appointment?GroundId={GroundId}&_From={_From}&_To={_To}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GroundId | integer |
Required |
|
| _From | date |
Required |
|
| _To | date |
Required |
Body Parameters
Collection of pss_appointmentDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| DetailId | integer |
None. |
|
| aptid | integer |
None. |
|
| groundId | integer |
None. |
|
| starttime | date |
None. |
|
| endtime | date |
None. |
|
| totalMoney | decimal number |
None. |
|
| AppStatus | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"DetailId": 1,
"aptid": 2,
"groundId": 3,
"starttime": "2026-10-25T12:31:30.0610529+07:00",
"endtime": "2026-10-25T12:31:30.0610529+07:00",
"totalMoney": 1.1,
"AppStatus": 1
},
{
"DetailId": 1,
"aptid": 2,
"groundId": 3,
"starttime": "2026-10-25T12:31:30.0610529+07:00",
"endtime": "2026-10-25T12:31:30.0610529+07:00",
"totalMoney": 1.1,
"AppStatus": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfpss_appointmentDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">
<pss_appointmentDetail>
<AppStatus>1</AppStatus>
<DetailId>1</DetailId>
<aptid>2</aptid>
<endtime>2026-10-25T12:31:30.0610529+07:00</endtime>
<groundId>3</groundId>
<starttime>2026-10-25T12:31:30.0610529+07:00</starttime>
<totalMoney>1.1</totalMoney>
</pss_appointmentDetail>
<pss_appointmentDetail>
<AppStatus>1</AppStatus>
<DetailId>1</DetailId>
<aptid>2</aptid>
<endtime>2026-10-25T12:31:30.0610529+07:00</endtime>
<groundId>3</groundId>
<starttime>2026-10-25T12:31:30.0610529+07:00</starttime>
<totalMoney>1.1</totalMoney>
</pss_appointmentDetail>
</ArrayOfpss_appointmentDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>