POST api/SaiSDContractMaintenanceSchedule/BuildMaintenanceSchedule

Request Information

URI Parameters

None.

Body Parameters

MaintenanceBuildCriteria
NameDescriptionTypeAdditional information
FromDate

date

None.

ToDate

date

None.

ProblemTaskFunctionCode

string

None.

ProblemTaskComponentCode

string

None.

ServiceType

string

None.

SDServiceMasterId

string

None.

TaskCode

string

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedOn

date

None.

CreatedBy

string

None.

UpdatedOn

date

None.

UpdatedBy

string

None.

IsLockedForEditing

boolean

None.

LockedBy

string

None.

Id

integer

None.

FieldPermissions

Collection of DTOFieldPermission

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDate": "2025-12-18T04:22:54.8308567+00:00",
  "ToDate": "2025-12-18T04:22:54.8308567+00:00",
  "ProblemTaskFunctionCode": "sample string 3",
  "ProblemTaskComponentCode": "sample string 4",
  "ServiceType": "sample string 5",
  "SDServiceMasterId": "sample string 6",
  "TaskCode": "sample string 7",
  "AccountId": 8,
  "CompanyId": "sample string 9",
  "CreatedOn": "2025-12-18T04:22:54.8308567+00:00",
  "CreatedBy": "sample string 11",
  "UpdatedOn": "2025-12-18T04:22:54.8308567+00:00",
  "UpdatedBy": "sample string 12",
  "IsLockedForEditing": true,
  "LockedBy": "sample string 14",
  "Id": 15,
  "FieldPermissions": []
}

application/xml, text/xml

Sample:
<MaintenanceBuildCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <Id xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">15</Id>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 11</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-18T04:22:54.8308567+00:00</CreatedOn>
  <IsLockedForEditing xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">true</IsLockedForEditing>
  <LockedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 14</LockedBy>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 12</UpdatedBy>
  <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">2025-12-18T04:22:54.8308567+00:00</UpdatedOn>
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">8</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Base">sample string 9</CompanyId>
  <FromDate>2025-12-18T04:22:54.8308567+00:00</FromDate>
  <ProblemTaskComponentCode>sample string 4</ProblemTaskComponentCode>
  <ProblemTaskFunctionCode>sample string 3</ProblemTaskFunctionCode>
  <SDServiceMasterId>sample string 6</SDServiceMasterId>
  <ServiceType>sample string 5</ServiceType>
  <TaskCode>sample string 7</TaskCode>
  <ToDate>2025-12-18T04:22:54.8308567+00:00</ToDate>
</MaintenanceBuildCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of BookMaintenanceCallsGrid
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

Id

integer

None.

ARCustomerId

string

None.

ServiceMasterName

string

None.

ServiceMasterId

string

None.

PhoneNumber

string

None.

PhoneType

PhoneType

None.

PaymentMethod

string

None.

Zone

string

None.

ZoneName

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

ContractNum

string

None.

ServiceType

string

None.

ProblemTaskComponentCode

string

None.

ProblemTaskFunctionCode

string

None.

BudgetHours

decimal number

None.

ScheduleDate

date

None.

MaintenanceDescription

string

None.

NotificationStatus

string

None.

SMAddress

string

None.

ARCustomerMasterAddress

string

None.

ARCustomerMasterName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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-18T04:22:54.9055945+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-18T04:22:54.9055945+00:00",
    "MaintenanceDescription": "sample string 19",
    "NotificationStatus": "sample string 20",
    "SMAddress": "sample string 21",
    "ARCustomerMasterAddress": "sample string 22",
    "ARCustomerMasterName": "sample string 23"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBookMaintenanceCallsGrid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <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-18T04:22:54.9055945+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-18T04:22:54.9055945+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>
</ArrayOfBookMaintenanceCallsGrid>