POST api/ExcludeWorkTeam

Request Information

URI Parameters

None.

Body Parameters

WorkTeamRequest
NameDescriptionTypeAdditional information
workTeamDeatil

Collection of DSMWorkTeamDetail

None.

orgId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "workTeamDeatil": [
    {
      "workTeamId": "sample string 1",
      "latitude": 2.1,
      "longitude": 3.1,
      "fixedCost": 4.1,
      "perKMCost": 5.1,
      "perHourCost": 6.1,
      "maxHourAllowed": 7.1,
      "maxKMAllowed": 8.1,
      "workingTimeSlot": "sample string 9",
      "breakTimeDuration": 10.1,
      "breakTimeStartHour": "sample string 11",
      "workTeamAddress": "sample string 12",
      "WorkTeamDate": "2024-10-05T14:21:41.4489915+00:00",
      "territoryId": "sample string 14",
      "WorkTeamName": "sample string 15",
      "employeeId": "sample string 16",
      "earlyTimeOffSetInMinutes": 17,
      "lateTimeOffSetInMinutes": 18,
      "isUnavailable": true,
      "isExclude": true,
      "orgId": "sample string 21",
      "EmployeeType": "sample string 22",
      "IsVirtual": true
    },
    {
      "workTeamId": "sample string 1",
      "latitude": 2.1,
      "longitude": 3.1,
      "fixedCost": 4.1,
      "perKMCost": 5.1,
      "perHourCost": 6.1,
      "maxHourAllowed": 7.1,
      "maxKMAllowed": 8.1,
      "workingTimeSlot": "sample string 9",
      "breakTimeDuration": 10.1,
      "breakTimeStartHour": "sample string 11",
      "workTeamAddress": "sample string 12",
      "WorkTeamDate": "2024-10-05T14:21:41.4489915+00:00",
      "territoryId": "sample string 14",
      "WorkTeamName": "sample string 15",
      "employeeId": "sample string 16",
      "earlyTimeOffSetInMinutes": 17,
      "lateTimeOffSetInMinutes": 18,
      "isUnavailable": true,
      "isExclude": true,
      "orgId": "sample string 21",
      "EmployeeType": "sample string 22",
      "IsVirtual": true
    }
  ],
  "orgId": "sample string 1"
}

application/xml, text/xml

Sample:
<WorkTeamRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RouteOptimizerWebAPI.Models">
  <orgId>sample string 1</orgId>
  <workTeamDeatil>
    <DSMWorkTeamDetail>
      <EmployeeType>sample string 22</EmployeeType>
      <IsVirtual>true</IsVirtual>
      <WorkTeamDate>2024-10-05T14:21:41.4489915+00:00</WorkTeamDate>
      <WorkTeamName>sample string 15</WorkTeamName>
      <breakTimeDuration>10.1</breakTimeDuration>
      <breakTimeStartHour>sample string 11</breakTimeStartHour>
      <earlyTimeOffSetInMinutes>17</earlyTimeOffSetInMinutes>
      <employeeId>sample string 16</employeeId>
      <fixedCost>4.1</fixedCost>
      <isExclude>true</isExclude>
      <isUnavailable>true</isUnavailable>
      <lateTimeOffSetInMinutes>18</lateTimeOffSetInMinutes>
      <latitude>2.1</latitude>
      <longitude>3.1</longitude>
      <maxHourAllowed>7.1</maxHourAllowed>
      <maxKMAllowed>8.1</maxKMAllowed>
      <orgId>sample string 21</orgId>
      <perHourCost>6.1</perHourCost>
      <perKMCost>5.1</perKMCost>
      <territoryId>sample string 14</territoryId>
      <workTeamAddress>sample string 12</workTeamAddress>
      <workTeamId>sample string 1</workTeamId>
      <workingTimeSlot>sample string 9</workingTimeSlot>
    </DSMWorkTeamDetail>
    <DSMWorkTeamDetail>
      <EmployeeType>sample string 22</EmployeeType>
      <IsVirtual>true</IsVirtual>
      <WorkTeamDate>2024-10-05T14:21:41.4489915+00:00</WorkTeamDate>
      <WorkTeamName>sample string 15</WorkTeamName>
      <breakTimeDuration>10.1</breakTimeDuration>
      <breakTimeStartHour>sample string 11</breakTimeStartHour>
      <earlyTimeOffSetInMinutes>17</earlyTimeOffSetInMinutes>
      <employeeId>sample string 16</employeeId>
      <fixedCost>4.1</fixedCost>
      <isExclude>true</isExclude>
      <isUnavailable>true</isUnavailable>
      <lateTimeOffSetInMinutes>18</lateTimeOffSetInMinutes>
      <latitude>2.1</latitude>
      <longitude>3.1</longitude>
      <maxHourAllowed>7.1</maxHourAllowed>
      <maxKMAllowed>8.1</maxKMAllowed>
      <orgId>sample string 21</orgId>
      <perHourCost>6.1</perHourCost>
      <perKMCost>5.1</perKMCost>
      <territoryId>sample string 14</territoryId>
      <workTeamAddress>sample string 12</workTeamAddress>
      <workTeamId>sample string 1</workTeamId>
      <workingTimeSlot>sample string 9</workingTimeSlot>
    </DSMWorkTeamDetail>
  </workTeamDeatil>
</WorkTeamRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of string

Response 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>