'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Workorder', 'version' => '2020-08-01', ], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'CreateTicket', 'GetAttachmentUploadUrl', 'GetAttachmentUrl', 'GetTicket', 'ListTickets', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateTicket' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => true, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Language', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Title', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Content', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'SecretContent', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ProductCode', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'Phone', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Email', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'NotifyTimeRange', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'FileNameList', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CommonQuestionId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'AccessDeniedDetail' => [ 'type' => 'string', ], 'TicketId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.', ], [ 'errorCode' => 'illegalParam.emailOrPhone', 'errorMessage' => 'The specified contact email or mobile phone number must be the data received by the account messenger.', ], [ 'errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.', ], [ 'errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.', ], ], [ [ 'errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth', ], ], 429 => [ [ 'errorCode' => 'Throttling.Api', 'errorMessage' => 'The request was denied due to API flow control.', ], ], 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'staticInfo' => [ 'substitutions' => [ 'Workorder::2021-06-10::CreateTicket', ], ], 'responseDemo' => null, ], 'GetAttachmentUploadUrl' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'FileName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'type' => 'string', ], 'PutObjectUrl' => [ 'type' => 'string', ], 'ObjectKey' => [ 'type' => 'string', ], 'AccessFileUrl' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.', ], [ 'errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.', ], [ 'errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.', ], ], [ [ 'errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth', ], ], 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => null, ], 'GetAttachmentUrl' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AttachName', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'TicketId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'NoteId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'AccessFileUrl' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.', ], [ 'errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.', ], [ 'errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.', ], ], [ [ 'errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth', ], ], 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => null, ], 'GetTicket' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => true, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TicketId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'AccessDeniedDetail' => [ 'type' => 'string', ], 'Email' => [ 'type' => 'string', ], 'CreateTime' => [ 'type' => 'string', ], 'TicketStatus' => [ 'type' => 'string', ], 'TicketId' => [ 'type' => 'string', ], 'Title' => [ 'type' => 'string', ], 'Phone' => [ 'type' => 'string', ], 'NotifyTimeRange' => [ 'type' => 'string', ], 'ProductCode' => [ 'type' => 'string', ], 'List' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Special' => [ 'type' => 'boolean', ], 'GmtCreated' => [ 'type' => 'string', ], 'FromOfficial' => [ 'type' => 'boolean', ], 'NoteId' => [ 'type' => 'string', ], 'Content' => [ 'type' => 'string', ], 'AttachList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.', ], [ 'errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.', ], [ 'errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.', ], ], [ [ 'errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth', ], ], 403 => [ [ 'errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', ], ], 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'staticInfo' => [ 'substitutions' => [ 'Workorder::2021-06-10::GetTicket', ], ], 'responseDemo' => null, ], 'ListTickets' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => true, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Ids', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CreatedAfterTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'CreatedBeforeTime', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'ProductCode', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'default' => '15', ], ], [ 'name' => 'TicketStatus', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'PageStart', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'default' => '1', ], ], [ 'name' => 'ExtraConditionList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Value' => [ 'type' => 'string', 'required' => false, ], 'Name' => [ 'type' => 'string', 'required' => false, ], ], ], 'required' => false, 'maxItems' => 2, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'AccessDeniedDetail' => [ 'type' => 'string', ], 'CurrentPage' => [ 'type' => 'integer', 'format' => 'int32', ], 'PageSize' => [ 'type' => 'integer', 'format' => 'int32', ], 'Total' => [ 'type' => 'integer', 'format' => 'int32', ], 'List' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Title' => [ 'type' => 'string', ], 'AddTime' => [ 'type' => 'string', ], 'TicketStatus' => [ 'type' => 'string', ], 'Id' => [ 'type' => 'string', ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'param.illegal', 'errorMessage' => 'The specified parameter is invalid. Please check the parameter.', ], [ 'errorCode' => 'Illegal.NeedAccessChinaSite', 'errorMessage' => 'Please visit the China site. The endpoint is workorder.aliyuncs.com.', ], [ 'errorCode' => 'Illegal.NeedAccessInternationalSite', 'errorMessage' => 'Please visit the international site. The endpoint is workorder.ap-southeast-1.aliyuncs.com.', ], ], [ [ 'errorCode' => 'illegal.auth', 'errorMessage' => 'illegal auth', ], ], 403 => [ [ 'errorCode' => 'No permissions', 'errorMessage' => 'No permissions to access.', ], ], 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'staticInfo' => [ 'substitutions' => [ 'Workorder::2021-06-10::ListTickets', ], ], 'responseDemo' => null, ], ], 'endpoints' => [ [ 'regionId' => 'ap-northeast-1', 'endpoint' => 'workorder.ap-northeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'endpoint' => 'workorder.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-northeast-2-pop', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'ap-south-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-2', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-3', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-5', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-pop', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-gov-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-nu16-b01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-chengdu', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-edge-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-fujian', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-haidian-cm12-c01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-bj-b01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-finance', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-prod-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-2', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-internal-test-3', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-test-306', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong-finance-pop', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-huhehaote', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-north-2-gov-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-qingdao-nebula', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-et15-b01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-et2-b01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-inner', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-internal-test-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-inner', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-st4-d01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-su18-b01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-wuhan', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-yushanfang', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-zhangbei-na61-b01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou-na62-a01', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'cn-zhengzhou-nebula-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'eu-central-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'eu-west-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'eu-west-1-oxs', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'me-east-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'rus-west-1-pop', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'us-east-1', 'endpoint' => 'workorder.aliyuncs.com', ], [ 'regionId' => 'us-west-1', 'endpoint' => 'workorder.aliyuncs.com', ], ], ];