Skip to content

Instantly share code, notes, and snippets.

@huangenyan
Last active January 22, 2018 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huangenyan/c285d0cc6c2d2104b220bcc12e65c419 to your computer and use it in GitHub Desktop.
Save huangenyan/c285d0cc6c2d2104b220bcc12e65c419 to your computer and use it in GitHub Desktop.

API URL: https://ra.apptech.com.hk/api/engine/companies/:company-id

Method: PATCH

parameters: company-id: The company ID specified in the email.

body

format: application/json
structure
{
  (optional)"news": [
    {
      "title": "[news_title]",
      "date": "[news_date]",
      "url": "[news_url]",
      (optional)"image_url": "[news_image_url]"
    }
   ],
   (optional)"products":[
    {
      "name": "[product_name]",
      "type": "hardware|software|mobile app|website|system",
      "url": "[product_url]",
      "image_url": "[product_image_url]"
    }
  ],
  (optional)"customers": [
    {
      (optional)"name": "[customer_name]",
      "image_url": "[customer_image_url]"
    }
  ],
  (optional)"publications": [
    {
      "title": "[publication_title]",
      (optional)"abstract": "[publication_abstract]",
      "url": "[publication_url]",
      "date" "[publication_date](maybe only year)"
    }
  ],
  (optional)"patents": [
    {
      "title": "[patent_title]",
      "patent_no": "[patent_no](e.g. US4852653A)",
      "date": "[patent_publication_date]",
      "url": "[patent_url](link_to_google_patent_page)"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment