POST api/TeamHierarchy/Edit

Edit a Team Hierarchy based on Team Hierarchy FID.

Request Information

URI Parameters

None.

Body Parameters

Team Hierarchy info. If info.FID doesn't exist, an error will be return.

TTeamHierarchy
NameDescriptionTypeAdditional information
ScopeName

string

None.

ParentScopeName

string

None.

ParentFID

string

None.

DefaultManageName

string

None.

FID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ScopeName": "sample string 1",
  "ParentScopeName": "sample string 2",
  "ParentFID": "sample string 3",
  "DefaultManageName": "sample string 4",
  "FID": "sample string 5"
}

application/xml, text/xml

Sample:
<TTeamHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.SystemManage">
  <DefaultManageName>sample string 4</DefaultManageName>
  <FID>sample string 5</FID>
  <ParentFID>sample string 3</ParentFID>
  <ParentScopeName>sample string 2</ParentScopeName>
  <ScopeName>sample string 1</ScopeName>
</TTeamHierarchy>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Edit a Team Hierarchy based on Team Hierarchy FID.

ApiReturn
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</ApiReturn>