Parameter name | Value | Description |
---|---|---|
id |
string |
Identifier of the result. |
assigned |
object |
The assigned time of the discount's assignment. |
assigned.dateTime |
string |
The time, as a combined date-time value (formatted according to RFC 3339, without time zone information). |
assigned.timeZone |
string |
The time zone. Possible values can be found here. The default value is the time zone of the company. |
expiration |
object |
The expiration time of the discount's assignment. |
expiration.dateTime |
string |
The time, as a combined date-time value (formatted according to RFC 3339, without time zone information). Writable. |
assigned.timeZone |
string |
The time zone. Possible values can be found here. The default value is the time zone of the company. |
client |
object |
The client linked with the discount. |
client.id |
string |
Identifier of the client. Writable |
client.firstName |
string |
First name of the client. |
client.lastName |
string |
Last name of the client. |
client.selfLink |
string |
URL link to the client resource description. |
status |
string |
The status of the assignment. Values: "enabled", "disabled". Writable. |
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
/assignments/{assignmentId}
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Discount identifier. |
assignmentId |
string |
Assignment identifier. |
Do not supply a request body with this method.
If successful, this method returns an empty response body.
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
/assignments/{assignmentId}
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Queue identifier. |
assignmentId |
string |
Assignment identifier. |
Do not supply a request body with this method.
If successful, this method returns a Assignment resource in the response body.
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
/assignmentsParameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Discount identifier. |
Do not supply a request body with this method.
If successful, this method returns a response body with the following structure:
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
/assignmentsParameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Discount identifier. |
In the request body, supply a Assignment Resource with the following properties:
Parameter name | Value | Description |
---|---|---|
Required Properties | ||
client |
object |
Id of the queue. |
If successful, this method returns a Assignment resource in the response body.
Authentication is required to execute this request. Please refer to Authentication for more.
{discountId}
/assignments/{assignmentId}
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
discountId |
string |
Discount identifier. |
assignmentId |
string |
Discount assignment identifier. |
In the request body, supply a Assignment resource with the following properties:
Parameter name | Value | Description |
---|---|---|
Optional Properties | ||
id |
string |
Id of the discount assignment. |
If successful, this method returns a Assignment resource in the response body.