POST Discounts/GetDiscountScopeLines
Request Information
URI Parameters
None.
Body Parameters
RequestGetDiscountScopeLines| Name | Description | Type | Additional information |
|---|---|---|---|
| ArrID | integer |
None. |
|
| ArrUserType | integer |
None. |
|
| EventIDs | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ArrID": 1,
"ArrUserType": 2,
"EventIDs": "sample string 3"
}
text/html
Sample:
{"ArrID":1,"ArrUserType":2,"EventIDs":"sample string 3"}
application/xml, text/xml
Sample:
<RequestGetDiscountScopeLines xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestModels"> <ArrID>1</ArrID> <ArrUserType>2</ArrUserType> <EventIDs>sample string 3</EventIDs> </RequestGetDiscountScopeLines>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseGetDiscountScopeLines| Name | Description | Type | Additional information |
|---|---|---|---|
| ListEvents | Collection of AdminDiscountScopeEvents |
None. |
Response Formats
application/json, text/json
Sample:
{
"ListEvents": [
{
"Name": "sample string 4",
"Lines": [
{
"Name": "sample string 2",
"Value": "sample string 3"
},
{
"Name": "sample string 2",
"Value": "sample string 3"
}
]
},
{
"Name": "sample string 4",
"Lines": [
{
"Name": "sample string 2",
"Value": "sample string 3"
},
{
"Name": "sample string 2",
"Value": "sample string 3"
}
]
}
]
}
text/html
Sample:
{"ListEvents":[{"Name":"sample string 4","Lines":[{"Name":"sample string 2","Value":"sample string 3"},{"Name":"sample string 2","Value":"sample string 3"}]},{"Name":"sample string 4","Lines":[{"Name":"sample string 2","Value":"sample string 3"},{"Name":"sample string 2","Value":"sample string 3"}]}]}
application/xml, text/xml
Sample:
<ResponseGetDiscountScopeLines xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ResponseModels">
<ListAdminDiscountScopeEvents xmlns:d2p1="http://schemas.datacontract.org/2004/07/OtherModels">
<d2p1:AdminDiscountScopeEvents />
<d2p1:AdminDiscountScopeEvents />
</ListAdminDiscountScopeEvents>
</ResponseGetDiscountScopeLines>