POST api/Amusement/Setting/Ride/TicketType/Modify
Request Information
URI Parameters
None.
Body Parameters
AmusementRideTicketTypeModifyParm| Name | Description | Type | Additional information |
|---|---|---|---|
| Orig_AmusementRideId | string |
Required Max length: 4 Min length: 4 |
|
| Orig_TicketTypeId | globally unique identifier |
Required |
|
| AmusementRideId | string |
Required Max length: 4 Min length: 4 |
|
| TicketTypeId | globally unique identifier |
Required |
|
| AmusementRideCount | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Orig_AmusementRideId": "sample string 1",
"Orig_TicketTypeId": "0f97d9be-418d-4bec-8984-0fc1ebe29e01",
"AmusementRideId": "sample string 3",
"TicketTypeId": "dd31928e-9d92-4e3b-9be9-711e1ed9fdfb",
"AmusementRideCount": 5
}
application/xml, text/xml
Sample:
<AmusementRideTicketTypeModifyParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Common.PlayGround"> <AmusementRideCount>5</AmusementRideCount> <AmusementRideId>sample string 3</AmusementRideId> <TicketTypeId>dd31928e-9d92-4e3b-9be9-711e1ed9fdfb</TicketTypeId> <Orig_AmusementRideId>sample string 1</Orig_AmusementRideId> <Orig_TicketTypeId>0f97d9be-418d-4bec-8984-0fc1ebe29e01</Orig_TicketTypeId> </AmusementRideTicketTypeModifyParm>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
CommonOperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
| errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
| tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": "sample string 3"
}
application/xml, text/xml
Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.