POST api/requestUsePointWithDiscount

Request Information

URI Parameters

None.

Body Parameters

RequestUsePointDiscount
NameDescriptionTypeAdditional information
CrmCode

string

Required

Branch

string

Required

clientCode

string

None.

PointUse

decimal number

Required

Range: inclusive between 0 and 7.92281625142643E+28

Discount

decimal number

Required

Range: inclusive between 0 and 7.92281625142643E+28

CreateBy

string

Required

Request Formats

application/json, text/json

Sample:
{
  "crmCode": "sample string 1",
  "branch": "sample string 2",
  "clientCode": "sample string 3",
  "pointUse": 1.0,
  "discount": 1.0,
  "createBy": "sample string 4"
}

application/xml, text/xml

Sample:
<RequestUsePointDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
  <Branch>sample string 2</Branch>
  <CreateBy>sample string 4</CreateBy>
  <CrmCode>sample string 1</CrmCode>
  <Discount>1</Discount>
  <PointUse>1</PointUse>
  <clientCode>sample string 3</clientCode>
</RequestUsePointDiscount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.