POST api/appointment/save-transaction-flexible-service
Request Information
URI Parameters
None.
Body Parameters
SaveCustomerServiceParams| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupIdIdentity | integer |
None. |
|
| RelateGroupCustomerId | integer |
None. |
|
| Services | Collection of ppt_Group_Items |
None. |
Request Formats
application/json, text/json
Sample:
{
"GroupIdIdentity": 1,
"RelateGroupCustomerId": 2,
"Services": [
{
"GroupItemID": 1,
"GroupIdIdentity": 1,
"ItemId": 1,
"ItemPrice": 1.1,
"Quantity": 1,
"DiscountPercent": 1.1,
"DiscountValue": 1.1,
"RelateGroupCustomerId": 1,
"IsPaid": true,
"InventoryUnitId": 1,
"ExchangeRate": 1
},
{
"GroupItemID": 1,
"GroupIdIdentity": 1,
"ItemId": 1,
"ItemPrice": 1.1,
"Quantity": 1,
"DiscountPercent": 1.1,
"DiscountValue": 1.1,
"RelateGroupCustomerId": 1,
"IsPaid": true,
"InventoryUnitId": 1,
"ExchangeRate": 1
}
]
}
application/xml, text/xml
Sample:
<SaveCustomerServiceParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities.ApiEntities">
<GroupIdIdentity>1</GroupIdIdentity>
<RelateGroupCustomerId>2</RelateGroupCustomerId>
<Services xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities">
<d2p1:ppt_Group_Items>
<d2p1:DiscountPercent>1.1</d2p1:DiscountPercent>
<d2p1:DiscountValue>1.1</d2p1:DiscountValue>
<d2p1:ExchangeRate>1</d2p1:ExchangeRate>
<d2p1:GroupIdIdentity>1</d2p1:GroupIdIdentity>
<d2p1:GroupItemID>1</d2p1:GroupItemID>
<d2p1:InventoryUnitId>1</d2p1:InventoryUnitId>
<d2p1:IsPaid>true</d2p1:IsPaid>
<d2p1:ItemId>1</d2p1:ItemId>
<d2p1:ItemPrice>1.1</d2p1:ItemPrice>
<d2p1:Quantity>1</d2p1:Quantity>
<d2p1:RelateGroupCustomerId>1</d2p1:RelateGroupCustomerId>
</d2p1:ppt_Group_Items>
<d2p1:ppt_Group_Items>
<d2p1:DiscountPercent>1.1</d2p1:DiscountPercent>
<d2p1:DiscountValue>1.1</d2p1:DiscountValue>
<d2p1:ExchangeRate>1</d2p1:ExchangeRate>
<d2p1:GroupIdIdentity>1</d2p1:GroupIdIdentity>
<d2p1:GroupItemID>1</d2p1:GroupItemID>
<d2p1:InventoryUnitId>1</d2p1:InventoryUnitId>
<d2p1:IsPaid>true</d2p1:IsPaid>
<d2p1:ItemId>1</d2p1:ItemId>
<d2p1:ItemPrice>1.1</d2p1:ItemPrice>
<d2p1:Quantity>1</d2p1:Quantity>
<d2p1:RelateGroupCustomerId>1</d2p1:RelateGroupCustomerId>
</d2p1:ppt_Group_Items>
</Services>
</SaveCustomerServiceParams>
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.