POST api/user/FieldTechList

Request Information

URI Parameters

None.

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
UserCode

string

None.

UserName

string

None.

DefaultBranchCode

string

None.

DefaultDepartmentCode

string

None.

DefaultLocationCode

string

None.

EmailAddress

string

None.

MobileNo

string

None.

Inactive

boolean

None.

Roles

Collection of Role

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserCode": "sample string 1",
    "UserName": "sample string 2",
    "DefaultBranchCode": "sample string 3",
    "DefaultDepartmentCode": "sample string 4",
    "DefaultLocationCode": "sample string 5",
    "EmailAddress": "sample string 6",
    "MobileNo": "sample string 7",
    "Inactive": true,
    "Roles": [
      {
        "RoleCode": "sample string 1",
        "RoleName": "sample string 2"
      },
      {
        "RoleCode": "sample string 1",
        "RoleName": "sample string 2"
      }
    ]
  },
  {
    "UserCode": "sample string 1",
    "UserName": "sample string 2",
    "DefaultBranchCode": "sample string 3",
    "DefaultDepartmentCode": "sample string 4",
    "DefaultLocationCode": "sample string 5",
    "EmailAddress": "sample string 6",
    "MobileNo": "sample string 7",
    "Inactive": true,
    "Roles": [
      {
        "RoleCode": "sample string 1",
        "RoleName": "sample string 2"
      },
      {
        "RoleCode": "sample string 1",
        "RoleName": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.CO">
  <User>
    <DefaultBranchCode>sample string 3</DefaultBranchCode>
    <DefaultDepartmentCode>sample string 4</DefaultDepartmentCode>
    <DefaultLocationCode>sample string 5</DefaultLocationCode>
    <EmailAddress>sample string 6</EmailAddress>
    <Inactive>true</Inactive>
    <MobileNo>sample string 7</MobileNo>
    <Roles>
      <Role>
        <RoleCode>sample string 1</RoleCode>
        <RoleName>sample string 2</RoleName>
      </Role>
      <Role>
        <RoleCode>sample string 1</RoleCode>
        <RoleName>sample string 2</RoleName>
      </Role>
    </Roles>
    <UserCode>sample string 1</UserCode>
    <UserName>sample string 2</UserName>
  </User>
  <User>
    <DefaultBranchCode>sample string 3</DefaultBranchCode>
    <DefaultDepartmentCode>sample string 4</DefaultDepartmentCode>
    <DefaultLocationCode>sample string 5</DefaultLocationCode>
    <EmailAddress>sample string 6</EmailAddress>
    <Inactive>true</Inactive>
    <MobileNo>sample string 7</MobileNo>
    <Roles>
      <Role>
        <RoleCode>sample string 1</RoleCode>
        <RoleName>sample string 2</RoleName>
      </Role>
      <Role>
        <RoleCode>sample string 1</RoleCode>
        <RoleName>sample string 2</RoleName>
      </Role>
    </Roles>
    <UserCode>sample string 1</UserCode>
    <UserName>sample string 2</UserName>
  </User>
</ArrayOfUser>