POST api/SaiSDContractMaintenanceSchedule/BookMaintenanceCalls

Request Information

URI Parameters

None.

Body Parameters

SDAutomaticCallBooking
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

MaintenanceCalls

Collection of BookMaintenanceCallsGrid

None.

OperatorCode

string

None.

CallStartDate

date

None.

CallEndDate

date

None.

ForcedServiceType

string

None.

ForcedBreakCode1

string

None.

ForcedBreakType1

integer

None.

ForcedBreakCode2

string

None.

ForcedBreakType2

integer

None.

TimeCodeToBookCalls

string

None.

IsSuppressOverbookedMessages

boolean

None.

IsSuppressCreditLimitMessages

boolean

None.

SignalRConnectionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "MaintenanceCalls": [
    {
      "AccountId": 1,
      "CompanyId": "sample string 2",
      "Id": 3,
      "ARCustomerId": "sample string 4",
      "ServiceMasterName": "sample string 5",
      "ServiceMasterId": "sample string 6",
      "PhoneNumber": "sample string 7",
      "PhoneType": 1,
      "PaymentMethod": "sample string 8",
      "Zone": "sample string 9",
      "ZoneName": "sample string 10",
      "AddressLine1": "sample string 11",
      "AddressLine2": "sample string 12",
      "ContractNum": "sample string 13",
      "ServiceType": "sample string 14",
      "ProblemTaskComponentCode": "sample string 15",
      "ProblemTaskFunctionCode": "sample string 16",
      "BudgetHours": 17.0,
      "ScheduleDate": "2025-12-16T18:36:07.6423761+00:00",
      "MaintenanceDescription": "sample string 19",
      "NotificationStatus": "sample string 20",
      "SMAddress": "sample string 21",
      "ARCustomerMasterAddress": "sample string 22",
      "ARCustomerMasterName": "sample string 23"
    },
    {
      "AccountId": 1,
      "CompanyId": "sample string 2",
      "Id": 3,
      "ARCustomerId": "sample string 4",
      "ServiceMasterName": "sample string 5",
      "ServiceMasterId": "sample string 6",
      "PhoneNumber": "sample string 7",
      "PhoneType": 1,
      "PaymentMethod": "sample string 8",
      "Zone": "sample string 9",
      "ZoneName": "sample string 10",
      "AddressLine1": "sample string 11",
      "AddressLine2": "sample string 12",
      "ContractNum": "sample string 13",
      "ServiceType": "sample string 14",
      "ProblemTaskComponentCode": "sample string 15",
      "ProblemTaskFunctionCode": "sample string 16",
      "BudgetHours": 17.0,
      "ScheduleDate": "2025-12-16T18:36:07.6423761+00:00",
      "MaintenanceDescription": "sample string 19",
      "NotificationStatus": "sample string 20",
      "SMAddress": "sample string 21",
      "ARCustomerMasterAddress": "sample string 22",
      "ARCustomerMasterName": "sample string 23"
    }
  ],
  "OperatorCode": "sample string 3",
  "CallStartDate": "2025-12-16T18:36:07.6423761+00:00",
  "CallEndDate": "2025-12-16T18:36:07.6423761+00:00",
  "ForcedServiceType": "sample string 4",
  "ForcedBreakCode1": "sample string 5",
  "ForcedBreakType1": 6,
  "ForcedBreakCode2": "sample string 7",
  "ForcedBreakType2": 8,
  "TimeCodeToBookCalls": "sample string 9",
  "IsSuppressOverbookedMessages": true,
  "IsSuppressCreditLimitMessages": true,
  "SignalRConnectionId": "sample string 12"
}

application/xml, text/xml

Sample:
<SDAutomaticCallBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <AccountId>1</AccountId>
  <CallEndDate>2025-12-16T18:36:07.6423761+00:00</CallEndDate>
  <CallStartDate>2025-12-16T18:36:07.6423761+00:00</CallStartDate>
  <CompanyId>sample string 2</CompanyId>
  <ForcedBreakCode1>sample string 5</ForcedBreakCode1>
  <ForcedBreakCode2>sample string 7</ForcedBreakCode2>
  <ForcedBreakType1>6</ForcedBreakType1>
  <ForcedBreakType2>8</ForcedBreakType2>
  <ForcedServiceType>sample string 4</ForcedServiceType>
  <IsSuppressCreditLimitMessages>true</IsSuppressCreditLimitMessages>
  <IsSuppressOverbookedMessages>true</IsSuppressOverbookedMessages>
  <MaintenanceCalls>
    <BookMaintenanceCallsGrid>
      <ARCustomerId>sample string 4</ARCustomerId>
      <ARCustomerMasterAddress>sample string 22</ARCustomerMasterAddress>
      <ARCustomerMasterName>sample string 23</ARCustomerMasterName>
      <AccountId>1</AccountId>
      <AddressLine1>sample string 11</AddressLine1>
      <AddressLine2>sample string 12</AddressLine2>
      <BudgetHours>17</BudgetHours>
      <CompanyId>sample string 2</CompanyId>
      <ContractNum>sample string 13</ContractNum>
      <Id>3</Id>
      <MaintenanceDescription>sample string 19</MaintenanceDescription>
      <NotificationStatus>sample string 20</NotificationStatus>
      <PaymentMethod>sample string 8</PaymentMethod>
      <PhoneNumber>sample string 7</PhoneNumber>
      <PhoneType>Home</PhoneType>
      <ProblemTaskComponentCode>sample string 15</ProblemTaskComponentCode>
      <ProblemTaskFunctionCode>sample string 16</ProblemTaskFunctionCode>
      <SMAddress>sample string 21</SMAddress>
      <ScheduleDate>2025-12-16T18:36:07.6423761+00:00</ScheduleDate>
      <ServiceMasterId>sample string 6</ServiceMasterId>
      <ServiceMasterName>sample string 5</ServiceMasterName>
      <ServiceType>sample string 14</ServiceType>
      <Zone>sample string 9</Zone>
      <ZoneName>sample string 10</ZoneName>
    </BookMaintenanceCallsGrid>
    <BookMaintenanceCallsGrid>
      <ARCustomerId>sample string 4</ARCustomerId>
      <ARCustomerMasterAddress>sample string 22</ARCustomerMasterAddress>
      <ARCustomerMasterName>sample string 23</ARCustomerMasterName>
      <AccountId>1</AccountId>
      <AddressLine1>sample string 11</AddressLine1>
      <AddressLine2>sample string 12</AddressLine2>
      <BudgetHours>17</BudgetHours>
      <CompanyId>sample string 2</CompanyId>
      <ContractNum>sample string 13</ContractNum>
      <Id>3</Id>
      <MaintenanceDescription>sample string 19</MaintenanceDescription>
      <NotificationStatus>sample string 20</NotificationStatus>
      <PaymentMethod>sample string 8</PaymentMethod>
      <PhoneNumber>sample string 7</PhoneNumber>
      <PhoneType>Home</PhoneType>
      <ProblemTaskComponentCode>sample string 15</ProblemTaskComponentCode>
      <ProblemTaskFunctionCode>sample string 16</ProblemTaskFunctionCode>
      <SMAddress>sample string 21</SMAddress>
      <ScheduleDate>2025-12-16T18:36:07.6423761+00:00</ScheduleDate>
      <ServiceMasterId>sample string 6</ServiceMasterId>
      <ServiceMasterName>sample string 5</ServiceMasterName>
      <ServiceType>sample string 14</ServiceType>
      <Zone>sample string 9</Zone>
      <ZoneName>sample string 10</ZoneName>
    </BookMaintenanceCallsGrid>
  </MaintenanceCalls>
  <OperatorCode>sample string 3</OperatorCode>
  <SignalRConnectionId>sample string 12</SignalRConnectionId>
  <TimeCodeToBookCalls>sample string 9</TimeCodeToBookCalls>
</SDAutomaticCallBooking>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.