POST api/Event/AddEventPrice
Documentation for 'AddEventPrice'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "item": { "EventID": "sample string 1", "classID": "sample string 2", "priceID": "sample string 3", "priceTitle": "sample string 4", "price": "sample string 5", "priceCurrency": "sample string 6", "priceStartDate": "2025-01-09T11:31:38.2655578+08:00", "priceEndDate": "2025-01-09T11:31:38.2655578+08:00", "createDate": "2025-01-09T11:31:38.2655578+08:00", "updateDate": "2025-01-09T11:31:38.2655578+08:00", "requireID": "sample string 7", "requireNRIC": "sample string 8", "adminID": "sample string 9", "enabled": "sample string 10", "deleted": "sample string 11" } }
application/xml, text/xml
Sample:
<UpdateEventPriceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models"> <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models"> <d2p1:EventID>sample string 1</d2p1:EventID> <d2p1:adminID>sample string 9</d2p1:adminID> <d2p1:classID>sample string 2</d2p1:classID> <d2p1:createDate>2025-01-09T11:31:38.2655578+08:00</d2p1:createDate> <d2p1:deleted>sample string 11</d2p1:deleted> <d2p1:enabled>sample string 10</d2p1:enabled> <d2p1:price>sample string 5</d2p1:price> <d2p1:priceCurrency>sample string 6</d2p1:priceCurrency> <d2p1:priceEndDate>2025-01-09T11:31:38.2655578+08:00</d2p1:priceEndDate> <d2p1:priceID>sample string 3</d2p1:priceID> <d2p1:priceStartDate>2025-01-09T11:31:38.2655578+08:00</d2p1:priceStartDate> <d2p1:priceTitle>sample string 4</d2p1:priceTitle> <d2p1:requireID>sample string 7</d2p1:requireID> <d2p1:requireNRIC>sample string 8</d2p1:requireNRIC> <d2p1:updateDate>2025-01-09T11:31:38.2655578+08:00</d2p1:updateDate> </item> </UpdateEventPriceRequest>
application/x-www-form-urlencoded
Sample: