'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'Workorder', 'version' => '2021-05-10', ], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'CloseTicket', 'CreateTicket', 'GetMessageTag', 'ListCategories', 'ListProducts', 'ListTicketNotes', 'ReplyTicket', 'ListTickets', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CloseTicket' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TicketId', 'in' => 'formData', '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', ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'CreateTicket' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Description', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'Severity', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '1000', 'minimum' => '0', ], ], [ 'name' => 'CategoryId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'GetMessageTag' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'ListCategories' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ParentId', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'maximum' => '99999999999', 'minimum' => '0', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'CategoryName' => [ 'type' => 'string', ], 'CategoryId' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'ListProducts' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'OrderNumber' => [ 'type' => 'integer', 'format' => 'int32', ], 'TopCategoryId' => [ 'type' => 'integer', 'format' => 'int64', ], 'TopCategoryName' => [ 'type' => 'string', ], 'Roots' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'CategoryName' => [ 'type' => 'string', ], 'CategoryId' => [ 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'ListTicketNotes' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => [ 'type' => 'integer', 'format' => 'int32', ], 'Status' => [ 'type' => 'integer', 'format' => 'int32', ], 'Tip' => [ 'type' => 'string', ], 'DialogId' => [ 'type' => 'integer', 'format' => 'int64', ], 'CreateTime' => [ 'type' => 'integer', 'format' => 'int64', ], 'DataInfo' => [ 'type' => 'object', 'properties' => [ 'Schema' => [ 'type' => 'string', ], 'Content' => [ 'type' => 'string', ], ], ], 'UserInfo' => [ 'type' => 'object', 'properties' => [ 'Role' => [ 'type' => 'integer', 'format' => 'int32', ], 'UserName' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'ReplyTicket' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'TicketId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'Content', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'SecContent', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'Data' => [ 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], 'ListTickets' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], [ 'APP' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'BeginDate', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, ], ], [ 'name' => 'EndDate', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '9999999', 'minimum' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '100', 'minimum' => '10', ], ], [ 'name' => 'TicketId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'StatusList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], 'required' => false, 'maxItems' => 11, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'type' => 'string', ], 'Success' => [ 'type' => 'boolean', ], 'Code' => [ 'type' => 'integer', 'format' => 'int32', ], 'Message' => [ 'type' => 'string', ], 'PageNumber' => [ 'type' => 'integer', 'format' => 'int32', ], 'PageSize' => [ 'type' => 'integer', 'format' => 'int32', ], 'TotalCount' => [ 'type' => 'integer', 'format' => 'int64', ], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TicketId' => [ 'type' => 'string', ], 'Title' => [ 'type' => 'string', ], 'Status' => [ 'type' => 'object', 'properties' => [ 'Label' => [ 'type' => 'string', ], 'Value' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 500 => [ [ 'errorCode' => 'System.error', 'errorMessage' => 'An error occurred while processing your request.', ], ], ], 'responseDemo' => '', ], ], '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', ], ], ];