POST api/Properties/PropertyMaintainanceRolePrefCareTakerSave

Request Information

URI Parameters

None.

Body Parameters

MaintenanceRolePreferenceArrItem
NameDescriptionTypeAdditional information
MaintenanceRolePreferenceID

integer

None.

LocationID

integer

None.

MaintenanceRolePreferenceOptionID

integer

None.

MaintenanceRolePreferenceOptiontxt

string

None.

MaintenanceRoleCareTakersArr

Collection of MaintenanceRoleCareTaker

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Action

string

None.

DBNo

integer

None.

AppNo

integer

None.

LogId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MaintenanceRolePreferenceID": 1,
  "LocationID": 1,
  "MaintenanceRolePreferenceOptionID": 2,
  "MaintenanceRolePreferenceOptiontxt": "sample string 3",
  "MaintenanceRoleCareTakersArr": [
    {
      "DBNo": 1,
      "AppNo": 1,
      "IsActive": true,
      "IsDeleted": true,
      "MaintenanceRolePrefCareTakerID": 1,
      "MaintenanceRolePreferenceOptionID": 1,
      "ProfessionID": 1,
      "ProfessionTempID": 1,
      "UserProfileID": 1,
      "TempUserProfileID": 1,
      "Name": "sample string 1",
      "IsCareTakerExists": true,
      "CreatedBy": 3,
      "UpadatedBy": 4,
      "LabelToShow": "sample string 5",
      "MaintenanceRoleRelationshipType": "sample string 6",
      "Action": "sample string 7"
    },
    {
      "DBNo": 1,
      "AppNo": 1,
      "IsActive": true,
      "IsDeleted": true,
      "MaintenanceRolePrefCareTakerID": 1,
      "MaintenanceRolePreferenceOptionID": 1,
      "ProfessionID": 1,
      "ProfessionTempID": 1,
      "UserProfileID": 1,
      "TempUserProfileID": 1,
      "Name": "sample string 1",
      "IsCareTakerExists": true,
      "CreatedBy": 3,
      "UpadatedBy": 4,
      "LabelToShow": "sample string 5",
      "MaintenanceRoleRelationshipType": "sample string 6",
      "Action": "sample string 7"
    }
  ],
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 6,
  "UpdatedBy": 7,
  "Action": "sample string 8",
  "DBNo": 1,
  "AppNo": 1,
  "LogId": 1
}

application/xml, text/xml

Sample:
<MaintenanceRolePreferenceArrItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model">
  <AppNo>1</AppNo>
  <CreatedBy>6</CreatedBy>
  <DBNo>1</DBNo>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <LocationID>1</LocationID>
  <LogId>1</LogId>
  <MaintenanceRoleCareTakersArr>
    <MaintenanceRoleCareTaker>
      <Action>sample string 7</Action>
      <AppNo>1</AppNo>
      <CreatedBy>3</CreatedBy>
      <DBNo>1</DBNo>
      <IsActive>true</IsActive>
      <IsCareTakerExists>true</IsCareTakerExists>
      <IsDeleted>true</IsDeleted>
      <LabelToShow>sample string 5</LabelToShow>
      <MaintenanceRolePrefCareTakerID>1</MaintenanceRolePrefCareTakerID>
      <MaintenanceRolePreferenceOptionID>1</MaintenanceRolePreferenceOptionID>
      <MaintenanceRoleRelationshipType>sample string 6</MaintenanceRoleRelationshipType>
      <Name>sample string 1</Name>
      <ProfessionID>1</ProfessionID>
      <ProfessionTempID>1</ProfessionTempID>
      <TempUserProfileID>1</TempUserProfileID>
      <UpadatedBy>4</UpadatedBy>
      <UserProfileID>1</UserProfileID>
    </MaintenanceRoleCareTaker>
    <MaintenanceRoleCareTaker>
      <Action>sample string 7</Action>
      <AppNo>1</AppNo>
      <CreatedBy>3</CreatedBy>
      <DBNo>1</DBNo>
      <IsActive>true</IsActive>
      <IsCareTakerExists>true</IsCareTakerExists>
      <IsDeleted>true</IsDeleted>
      <LabelToShow>sample string 5</LabelToShow>
      <MaintenanceRolePrefCareTakerID>1</MaintenanceRolePrefCareTakerID>
      <MaintenanceRolePreferenceOptionID>1</MaintenanceRolePreferenceOptionID>
      <MaintenanceRoleRelationshipType>sample string 6</MaintenanceRoleRelationshipType>
      <Name>sample string 1</Name>
      <ProfessionID>1</ProfessionID>
      <ProfessionTempID>1</ProfessionTempID>
      <TempUserProfileID>1</TempUserProfileID>
      <UpadatedBy>4</UpadatedBy>
      <UserProfileID>1</UserProfileID>
    </MaintenanceRoleCareTaker>
  </MaintenanceRoleCareTakersArr>
  <MaintenanceRolePreferenceID>1</MaintenanceRolePreferenceID>
  <MaintenanceRolePreferenceOptionID>2</MaintenanceRolePreferenceOptionID>
  <MaintenanceRolePreferenceOptiontxt>sample string 3</MaintenanceRolePreferenceOptiontxt>
  <UpdatedBy>7</UpdatedBy>
</MaintenanceRolePreferenceArrItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Status

ResultStatus

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics">
  <Data />
  <Message>sample string 1</Message>
  <Status>Success</Status>
</Result>