Create Team

HTTP Request

POSThttps://staging.api-gw.propdata.net/teams/api/v1/teams/

Example Response

{
"id": 0,
"site": 0,
"meta": {},
"created": "2021-03-01T14:10:09.593Z",
"modified": "2021-03-01T14:10:09.593Z",
"deleted": "2021-03-01T14:10:09.593Z",
"uuid": "770bba28-9f80-4d40-9c51-6e022364af91",
"source_ref": "string",
"active": false,
"agents": [],
"team_leader": -2147483648,
"branch": -2147483648,
"name": "string",
"profile": "string",
"email": "user@example.com",
"facebook_url": "http://www.example.com",
"twitter_url": "http://www.example.com",
"linkedin_url": "http://www.example.com",
"blog_url": "http://www.example.com",
"pinterest_url": "http://www.example.com",
"google_plus_url": "http://www.example.com",
"youtube_url": "http://www.example.com",
"images": [],
"documents": [],
"statistics": 0
}

NameDescription

id

integer

ID

site

integer

Site

meta

string

Meta

created

string

Created

modified

string

Modified

deleted

string

Deleted

uuid

string

Uuid

source_ref

nullable

string<= 100 characters

Source ref

active

boolean

Active

agents

nullable

array of integers

Agents

Choices: [ 1,2,3...2147483648 ]

team_leader

nullable

integer

Team leader

branch

required

integer

Branch

name

required

string[ 1...150 ] characters

Name

profile

nullable

string

Profile

email

required

string[ 1...254 ] characters

Email

facebook_url

nullable

string<= 200 characters

Facebook url

twitter_url

nullable

string<= 200 characters

Twitter url

linkedin_url

nullable

string<= 200 characters

Linkedin url

blog_url

nullable

string<= 200 characters

Blog url

pinterest_url

nullable

string<= 200 characters

Pinterest url

google_plus_url

nullable

string<= 200 characters

Google plus url

youtube_url

nullable

string<= 200 characters

Youtube url

images

nullable

array of integers

Images

Choices: [ 1,2,3...2147483648 ]

documents

nullable

array of integers

Documents

Choices: [ 1,2,3...2147483648 ]

statistics

nullable

integer

Statistics

Responses

201
400 Bad request body
403 You do not have permission to perform this action
500 Internal server error
503 This website is not active