POST api/Customer/AddEditCleaningPlan

Request Information

URI Parameters

None.

Body Parameters

CleaningPlanMapper
NameDescriptionTypeAdditional information
AdditionalRoomMapper

Collection of AdditionalRoomMapper

None.

AdditionalPlanValueMapper

AdditionalPlanValueMapper

None.

TaxExempt

boolean

None.

PlanID

integer

None.

CleanID

integer

None.

PlanName

string

None.

PLCTSOPER

string

None.

SubTotal

decimal number

None.

ServiceTax

decimal number

None.

Tax

decimal number

None.

Total

decimal number

None.

PlanType

string

None.

Hours

decimal number

None.

Living

boolean

None.

Dinning

boolean

None.

Kitchen

boolean

None.

Family

boolean

None.

BedRoom

integer

None.

Master

integer

None.

Bath

integer

None.

Half

integer

None.

Office

boolean

None.

Record

boolean

None.

Laundry

boolean

None.

KitchenNook

boolean

None.

Adjust

string

None.

Adjust1st

decimal number

None.

AdjustWeek

decimal number

None.

AdjustEOW

decimal number

None.

AdjustMonthly

decimal number

None.

AdjustVacant

decimal number

None.

SubVacant

decimal number

None.

TaxVacant

decimal number

None.

TotalVacant

decimal number

None.

Sub1st

decimal number

None.

SubWeek

decimal number

None.

SubEOW

decimal number

None.

SubMonthly

decimal number

None.

Tax1st

decimal number

None.

TaxWeek

decimal number

None.

TaxEOW

decimal number

None.

TaxMontly

decimal number

None.

Total1st

decimal number

None.

TotalWeek

decimal number

None.

TotalEOW

decimal number

None.

TotalMonthly

decimal number

None.

MinApplies

boolean

None.

PreferredPlan

boolean

None.

IsOtherRoom

boolean

None.

Dishwasher

integer

None.

Fridge

integer

None.

GarageStall

integer

None.

Mileage

decimal number

None.

Oven

integer

None.

Porch

integer

None.

Dryer

integer

None.

Washer

integer

None.

HourlyRate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "AdditionalRoomMapper": [
    {
      "ID": 1,
      "PlanID": 2,
      "RoomDescription": "sample string 3",
      "RoomPrice": 4.0,
      "IsOtherMasterRoom": true
    },
    {
      "ID": 1,
      "PlanID": 2,
      "RoomDescription": "sample string 3",
      "RoomPrice": 4.0,
      "IsOtherMasterRoom": true
    }
  ],
  "AdditionalPlanValueMapper": {
    "priceCalculationMasterList": [
      {
        "ID": "sample string 1",
        "CalType": "sample string 2",
        "CalValue": "sample string 3"
      },
      {
        "ID": "sample string 1",
        "CalType": "sample string 2",
        "CalValue": "sample string 3"
      }
    ],
    "masterRoomMappers": [
      {
        "ID": 1,
        "RoomName": "sample string 2",
        "MinToClean": 3.0,
        "CompanyID": 4
      },
      {
        "ID": 1,
        "RoomName": "sample string 2",
        "MinToClean": 3.0,
        "CompanyID": 4
      }
    ],
    "CustomerID": 1,
    "PreETA": "sample string 2",
    "PostalMileage": 3.0,
    "CleaningAddress": "sample string 4",
    "ContactName": "sample string 5",
    "Tile": true,
    "Vinyl": true,
    "HardWood": true,
    "Carpet": true,
    "HourlyRate": 10.0,
    "RoomRate": 11.0,
    "BasePrice": 12.0,
    "Hours": 13.0,
    "Sqft": 14.0,
    "AdjPer": 15.0,
    "Frequncy": "sample string 16",
    "TaxRate": 17.0,
    "Monthly": "sample string 18",
    "Eow": "sample string 19",
    "Weekly": "sample string 20",
    "Occasional": "sample string 21",
    "AdditionalSqFtMultiplier": 22.1
  },
  "TaxExempt": true,
  "PlanID": 2,
  "CleanID": 3,
  "PlanName": "sample string 4",
  "PLCTSOPER": "sample string 5",
  "SubTotal": 6.0,
  "ServiceTax": 7.0,
  "Tax": 8.0,
  "Total": 9.0,
  "PlanType": "sample string 10",
  "Hours": 11.0,
  "Living": true,
  "Dinning": true,
  "Kitchen": true,
  "Family": true,
  "BedRoom": 16,
  "Master": 17,
  "Bath": 18,
  "Half": 19,
  "Office": true,
  "Record": true,
  "Laundry": true,
  "KitchenNook": true,
  "Adjust": "sample string 24",
  "Adjust1st": 25.0,
  "AdjustWeek": 26.0,
  "AdjustEOW": 27.0,
  "AdjustMonthly": 28.0,
  "AdjustVacant": 29.0,
  "SubVacant": 30.0,
  "TaxVacant": 31.0,
  "TotalVacant": 32.0,
  "Sub1st": 33.0,
  "SubWeek": 34.0,
  "SubEOW": 35.0,
  "SubMonthly": 36.0,
  "Tax1st": 37.0,
  "TaxWeek": 38.0,
  "TaxEOW": 39.0,
  "TaxMontly": 40.0,
  "Total1st": 41.0,
  "TotalWeek": 42.0,
  "TotalEOW": 43.0,
  "TotalMonthly": 44.0,
  "MinApplies": true,
  "PreferredPlan": true,
  "IsOtherRoom": true,
  "Dishwasher": 48,
  "Fridge": 49,
  "GarageStall": 50,
  "Mileage": 51.0,
  "Oven": 52,
  "Porch": 53,
  "Dryer": 54,
  "Washer": 55,
  "HourlyRate": 56.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
HasError

boolean

None.

HasSuccess

boolean

None.

Status

StatusType

None.

MessageTitle

string

None.

Message

string

None.

ExceptionMessage

string

None.

ExceptionStackTrace

string

None.

ResultException

Exception

None.

ResultObject

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultObject": {},
  "HasError": false,
  "HasSuccess": true,
  "Status": 200,
  "MessageTitle": "sample string 3",
  "Message": "sample string 4",
  "ExceptionMessage": "sample string 5",
  "ExceptionStackTrace": "sample string 6",
  "ResultException": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}