GET api/Home/GetSchoolsToAssign?OwnerID={OwnerID}&UserID={UserID}&RoleId={RoleId}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
OwnerID
No documentation available.

Define this parameter in the request URI.

UserID
No documentation available.

Define this parameter in the request URI.

RoleId
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "id": 1,
  "value": "sample string 2",
  "SchoolID": 3,
  "LocalityID": 4,
  "CityID": 5,
  "StateID": 6,
  "ownerID": 7,
  "roleID": 8,
  "OwnerId": 1,
  "ownervalue": "sample string 9",
  "roleid": 1,
  "RowNumber": 1,
  "SalesPersonList": [
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    }
  ],
  "OwnerPersonList": [
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    },
    {
      "Selected": true,
      "Text": "sample string 2",
      "Value": "sample string 3"
    }
  ],
  "OwnersList": [
    {
      "ownerid": 1,
      "ownername": "sample string 2",
      "roleid": 1
    },
    {
      "ownerid": 1,
      "ownername": "sample string 2",
      "roleid": 1
    },
    {
      "ownerid": 1,
      "ownername": "sample string 2",
      "roleid": 1
    }
  ],
  "TotalCount": 1,
  "Name": "sample string 10",
  "Location": "sample string 11",
  "ownerid": 12,
  "LocationType": "sample string 13",
  "AssignedTo": "sample string 14",
  "AssignedBy": "sample string 15",
  "SchoolName": "sample string 16",
  "SchoolAddress": "sample string 17"
}

application/xml, text/xml

Sample:
<SalesPersonLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models">
  <AssignedBy>sample string 15</AssignedBy>
  <AssignedTo>sample string 14</AssignedTo>
  <CityID>5</CityID>
  <LocalityID>4</LocalityID>
  <Location>sample string 11</Location>
  <LocationType>sample string 13</LocationType>
  <Name>sample string 10</Name>
  <OwnerId>1</OwnerId>
  <OwnerPersonList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
  </OwnerPersonList>
  <OwnersList>
    <OwnerData>
      <ownerid>1</ownerid>
      <ownername>sample string 2</ownername>
      <roleid>1</roleid>
    </OwnerData>
    <OwnerData>
      <ownerid>1</ownerid>
      <ownername>sample string 2</ownername>
      <roleid>1</roleid>
    </OwnerData>
    <OwnerData>
      <ownerid>1</ownerid>
      <ownername>sample string 2</ownername>
      <roleid>1</roleid>
    </OwnerData>
  </OwnersList>
  <RowNumber>1</RowNumber>
  <SalesPersonList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
    <d2p1:SelectListItem>
      <d2p1:Selected>true</d2p1:Selected>
      <d2p1:Text>sample string 2</d2p1:Text>
      <d2p1:Value>sample string 3</d2p1:Value>
    </d2p1:SelectListItem>
  </SalesPersonList>
  <SchoolAddress>sample string 17</SchoolAddress>
  <SchoolID>3</SchoolID>
  <SchoolName>sample string 16</SchoolName>
  <StateID>6</StateID>
  <TotalCount>1</TotalCount>
  <id>1</id>
  <ownerID>7</ownerID>
  <ownerid>12</ownerid>
  <ownervalue>sample string 9</ownervalue>
  <roleID>8</roleID>
  <roleid>1</roleid>
  <value>sample string 2</value>
</SalesPersonLocationModel>