API Interface Specification v1.0--develop a good specification, only good cooperation development

Source: Internet
Author: User

Return code specification:

16-bit 000000 means success! Parameter correlation return code reservation 100000-199999; system related return code reservation 200000-299999; Data center 310000-319999 Follow-up projects and so on, follow-up according to business expansion of new operation code needs to be filed in advance!

module = system code OptCode = operation Code OPTDESC = Operation Description ResultCode = result code RESULTDESC = result description Bizcode = business code Data = Return

Business code = system code-+ opcode-+ result code The business code content is consistent with the previous definition, example: taobao-+ order_add-+ 330002

An example of the returned results is shown below:

Exception return:

{   "OptCode":"store_addmsg",   "Optdesc":"new News from the Library center",   "ResultCode":"330002",   "Resultdesc":"Library Center added message failed to add message to search engine Library exception",   "Data":"",   "Module":"HME",   "Bizcode":"TaoBao-order_add-330002",   "Success":false}

Normal return:

{   "OptCode":"store_addmsg",   "Optdesc":"new News from the Library center",   "ResultCode":"000000",   "Resultdesc":"Operation succeeded",   "Data":"",   "Module":"HME",   "Success":true,   "Bizcode":"Tao-order_add-000000"}
API Documentation Specification:

Interface Name:
Products.search

Interface Description:

TCM Product Interface Call Query

Request Parameters:

Response Parameters:

JSON returns an example:
{   "OptCode":"store_addmsg",   "Optdesc":"Data Center New message",   "ResultCode":"000000",   "Resultdesc":"Operation succeeded",   "Data":"[            {         "keywords":NULL,         "TYMC":" amoxicillin",         "TYJX":"Granular Agent",         "ProjectID":"44afc2328d63a53ee05012ac241e3e1b",      }]",   "Module":"HME",   "Success":true,   "Bizcode":"hme-store_addmsg-000000"}
Service Code Reference:

Result Code reference:

API Interface Specification v1.0--develop a good specification, only good cooperative development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.