{"_id":"567de59b5851801700566889","isReference":false,"parentDoc":null,"updates":[],"__v":1,"createdAt":"2015-12-26T00:55:55.118Z","editedParams":true,"editedParams2":true,"githubsync":"","version":"55af2569826d210d00041df1","body":"","excerpt":"create company","order":0,"title":"company/create","type":"post","sync_unique":"","user":"5588ba6b1163180d00b646a2","category":"55af6a25826d210d00041e6e","link_external":false,"link_url":"","slug":"company_create","api":{"params":[{"ref":"","required":true,"desc":"administrator email","default":"","type":"string","name":"email","in":"body","_id":"55c4175c8b45eb0d004cfa00"},{"type":"string","name":"nick","in":"body","_id":"5720270ba0acd42000af9665","ref":"","required":true,"desc":"company name","default":""},{"required":true,"desc":"administrator password","default":"","type":"string","name":"passwd","in":"body","_id":"5720270ba0acd42000af9664","ref":""}],"results":{"codes":[{"name":"","code":"''","language":"text","status":200},{"name":"","code":"{\n  code:400,\n  error:\"Error in call to API function company/create\",\n  error_description:\"xxx missing required field.\"\n}","language":"json","status":400},{"code":"{\n  \"code\":409,\n  \"error\":\"email_existed\",\n  \"error_description\":\"email existed.\"\n}","language":"json","status":409}]},"settings":"","url":"/company/create","auth":"never","examples":{"codes":[{"language":"curl","name":"","code":"curl -X POST \thttps://app.minicloud.io/api/v1/company/create \\\n    --header \"Content-Type: application/json\" \\ \n    --data \"{\\\"email\\\":\\\"xxx:::at:::gmail.com\\\",\\\"nick\\\":\\\"xxx\\\",\\\"passwd\\\":\\\"1234567\\\"}\""}]},"method":"post"},"hidden":false,"project":"55af2569826d210d00041dee","childrenPages":[]}

postcompany/create

create company

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

email:
required
string
administrator email
nick:
required
string
company name
passwd:
required
string
administrator password

Examples


Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}