POST api/Teams

Request Information

URI Parameters

None.

Body Parameters

Team
NameDescriptionTypeAdditional information
TEAM_ID

integer

None.

DIVISION_ID

integer

None.

NAME

string

None.

DESCRIPTION

string

None.

STREET1

string

None.

STREET2

string

None.

CITY

string

None.

STATE

string

None.

ZIPCODE

string

None.

PHONE

string

None.

FAX

string

None.

PAGER

string

None.

PHONE2

string

None.

NOTE

string

None.

EMAIL

string

None.

ACTIVE

boolean

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TEAM_ID": 1,
  "DIVISION_ID": 2,
  "NAME": "sample string 3",
  "DESCRIPTION": "sample string 4",
  "STREET1": "sample string 5",
  "STREET2": "sample string 6",
  "CITY": "sample string 7",
  "STATE": "sample string 8",
  "ZIPCODE": "sample string 9",
  "PHONE": "sample string 10",
  "FAX": "sample string 11",
  "PAGER": "sample string 12",
  "PHONE2": "sample string 13",
  "NOTE": "sample string 14",
  "EMAIL": "sample string 15",
  "ACTIVE": true,
  "OLD": 1
}

application/octet-stream

Sample:
{"TEAM_ID":1,"DIVISION_ID":2,"NAME":"sample string 3","DESCRIPTION":"sample string 4","STREET1":"sample string 5","STREET2":"sample string 6","CITY":"sample string 7","STATE":"sample string 8","ZIPCODE":"sample string 9","PHONE":"sample string 10","FAX":"sample string 11","PAGER":"sample string 12","PHONE2":"sample string 13","NOTE":"sample string 14","EMAIL":"sample string 15","ACTIVE":true,"OLD":1}

application/xml, text/xml

Sample:
<Team xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TEAM_ID>1</TEAM_ID>
  <DIVISION_ID>2</DIVISION_ID>
  <NAME>sample string 3</NAME>
  <DESCRIPTION>sample string 4</DESCRIPTION>
  <STREET1>sample string 5</STREET1>
  <STREET2>sample string 6</STREET2>
  <CITY>sample string 7</CITY>
  <STATE>sample string 8</STATE>
  <ZIPCODE>sample string 9</ZIPCODE>
  <PHONE>sample string 10</PHONE>
  <FAX>sample string 11</FAX>
  <PAGER>sample string 12</PAGER>
  <PHONE2>sample string 13</PHONE2>
  <NOTE>sample string 14</NOTE>
  <EMAIL>sample string 15</EMAIL>
  <ACTIVE>true</ACTIVE>
  <OLD>1</OLD>
</Team>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Team'.

Response Information

Resource Description

Team
NameDescriptionTypeAdditional information
TEAM_ID

integer

None.

DIVISION_ID

integer

None.

NAME

string

None.

DESCRIPTION

string

None.

STREET1

string

None.

STREET2

string

None.

CITY

string

None.

STATE

string

None.

ZIPCODE

string

None.

PHONE

string

None.

FAX

string

None.

PAGER

string

None.

PHONE2

string

None.

NOTE

string

None.

EMAIL

string

None.

ACTIVE

boolean

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TEAM_ID": 1,
  "DIVISION_ID": 2,
  "NAME": "sample string 3",
  "DESCRIPTION": "sample string 4",
  "STREET1": "sample string 5",
  "STREET2": "sample string 6",
  "CITY": "sample string 7",
  "STATE": "sample string 8",
  "ZIPCODE": "sample string 9",
  "PHONE": "sample string 10",
  "FAX": "sample string 11",
  "PAGER": "sample string 12",
  "PHONE2": "sample string 13",
  "NOTE": "sample string 14",
  "EMAIL": "sample string 15",
  "ACTIVE": true,
  "OLD": 1
}

application/octet-stream

Sample:
{"TEAM_ID":1,"DIVISION_ID":2,"NAME":"sample string 3","DESCRIPTION":"sample string 4","STREET1":"sample string 5","STREET2":"sample string 6","CITY":"sample string 7","STATE":"sample string 8","ZIPCODE":"sample string 9","PHONE":"sample string 10","FAX":"sample string 11","PAGER":"sample string 12","PHONE2":"sample string 13","NOTE":"sample string 14","EMAIL":"sample string 15","ACTIVE":true,"OLD":1}

application/xml, text/xml

Sample:
<Team xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TEAM_ID>1</TEAM_ID>
  <DIVISION_ID>2</DIVISION_ID>
  <NAME>sample string 3</NAME>
  <DESCRIPTION>sample string 4</DESCRIPTION>
  <STREET1>sample string 5</STREET1>
  <STREET2>sample string 6</STREET2>
  <CITY>sample string 7</CITY>
  <STATE>sample string 8</STATE>
  <ZIPCODE>sample string 9</ZIPCODE>
  <PHONE>sample string 10</PHONE>
  <FAX>sample string 11</FAX>
  <PAGER>sample string 12</PAGER>
  <PHONE2>sample string 13</PHONE2>
  <NOTE>sample string 14</NOTE>
  <EMAIL>sample string 15</EMAIL>
  <ACTIVE>true</ACTIVE>
  <OLD>1</OLD>
</Team>