Querying Available Sales Cycles
Function
This API is used to query available sales cycles.
URI
GET /v2/{domain_id}/sale-cycles
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
domain_id |
Yes |
String |
Account ID in the URI. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
zone_code |
No |
String |
Area code. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
sale_cycles |
Array of SaleCycleOption objects |
Sales cycle information. |
Example Request
Querying available sales cycles.
GET https://{ies_endpoint}/v2/{domain_id}/sale-cycles
Example Response
Status code: 200
successful operation
{
"sale_cycles" : [ {
"pay_mode" : "FULL",
"period_type" : "year",
"period_num" : [ 1, 3 ]
} ]
}
Status Code
|
Status Code |
Description |
|---|---|
|
200 |
successful operation |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot