POST api/Properties/SaveAttorny

Request Information

URI Parameters

None.

Body Parameters

ViewModelAttorny
NameDescriptionTypeAdditional information
TempPropertyDetailID

integer

None.

PropertyType

string

None.

PropertySubType

string

None.

propertyPinNumber

string

None.

PropertyName

string

None.

PropertyArea

string

None.

Measurement

string

None.

YearBuild

string

None.

OwnerName

string

None.

OwnerAddress1

string

None.

PhoneCell

string

None.

PertageOwnedbyOwner

decimal number

None.

PropertyOwnerNationalityNumber

string

None.

PropertyCategory

integer

None.

DocumentNo

integer

None.

BookNo

integer

None.

VolumeNo

integer

None.

PropDate

string

None.

LetterNo

string

None.

MembershipNo

string

None.

MembershipObtainDate

string

None.

TransferLetterDate

string

None.

ShareHolders

Collection of ViewShareHolder

None.

NextOfKins

Collection of ViewNextOfKin

None.

PropertyTaxes

Collection of ViewPropertyTax

None.

LocationID

integer

None.

ChooseAttorneyType

string

None.

AttorneyUserProfileID

integer

None.

AttorneyTempUserProfileID

integer

None.

AttorneyFullName

string

None.

AttorneyCell

string

None.

AttorneyEmail

string

None.

FullAddressOfAttorney

string

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TempPropertyDetailID": 1,
  "PropertyType": "sample string 2",
  "PropertySubType": "sample string 3",
  "propertyPinNumber": "sample string 4",
  "PropertyName": "sample string 5",
  "PropertyArea": "sample string 6",
  "Measurement": "sample string 7",
  "YearBuild": "sample string 8",
  "OwnerName": "sample string 9",
  "OwnerAddress1": "sample string 10",
  "PhoneCell": "sample string 11",
  "PertageOwnedbyOwner": 1.0,
  "PropertyOwnerNationalityNumber": "sample string 12",
  "PropertyCategory": 1,
  "DocumentNo": 1,
  "BookNo": 1,
  "VolumeNo": 1,
  "PropDate": "sample string 13",
  "LetterNo": "sample string 14",
  "MembershipNo": "sample string 15",
  "MembershipObtainDate": "sample string 16",
  "TransferLetterDate": "sample string 17",
  "ShareHolders": [
    {
      "TempShareholderID": 1,
      "UserProfileID": 1,
      "TempUserProfileID": 1,
      "ShareholderRelation": "sample string 2",
      "ShareholderFullName": "sample string 3",
      "Address1": "sample string 4",
      "Cell": "sample string 5",
      "NationalityNo": "sample string 6",
      "ShareHolderEmail": "sample string 7",
      "Percentage": 1.0
    },
    {
      "TempShareholderID": 1,
      "UserProfileID": 1,
      "TempUserProfileID": 1,
      "ShareholderRelation": "sample string 2",
      "ShareholderFullName": "sample string 3",
      "Address1": "sample string 4",
      "Cell": "sample string 5",
      "NationalityNo": "sample string 6",
      "ShareHolderEmail": "sample string 7",
      "Percentage": 1.0
    }
  ],
  "NextOfKins": [
    {
      "TempNextOfKinID": 1,
      "NextOfKinUserProfileID": 1,
      "NextOfKinTempUserProfileID": 1,
      "NextOfKinRelation": "sample string 2",
      "NextOfKinFullName": "sample string 3",
      "NextOfKinNationalityNo": "sample string 4",
      "NextOfKinCell": "sample string 5",
      "NextOfKinEmail": "sample string 6",
      "NextOfKinPercentage": 1.0,
      "Address1": "sample string 7"
    },
    {
      "TempNextOfKinID": 1,
      "NextOfKinUserProfileID": 1,
      "NextOfKinTempUserProfileID": 1,
      "NextOfKinRelation": "sample string 2",
      "NextOfKinFullName": "sample string 3",
      "NextOfKinNationalityNo": "sample string 4",
      "NextOfKinCell": "sample string 5",
      "NextOfKinEmail": "sample string 6",
      "NextOfKinPercentage": 1.0,
      "Address1": "sample string 7"
    }
  ],
  "PropertyTaxes": [
    {
      "TaxRegistrationNumber": "sample string 1",
      "PropertyTaxYear": "sample string 2",
      "PropertyTaxAmount": 1.0,
      "CountryCurrency": "sample string 3"
    },
    {
      "TaxRegistrationNumber": "sample string 1",
      "PropertyTaxYear": "sample string 2",
      "PropertyTaxAmount": 1.0,
      "CountryCurrency": "sample string 3"
    }
  ],
  "LocationID": 1,
  "ChooseAttorneyType": "sample string 18",
  "AttorneyUserProfileID": 1,
  "AttorneyTempUserProfileID": 1,
  "AttorneyFullName": "sample string 19",
  "AttorneyCell": "sample string 20",
  "AttorneyEmail": "sample string 21",
  "FullAddressOfAttorney": "sample string 22",
  "CreatedBy": 23,
  "UpdatedBy": 24
}

application/xml, text/xml

Sample:
<ViewModelAttorny xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.ViewModel">
  <AttorneyCell>sample string 20</AttorneyCell>
  <AttorneyEmail>sample string 21</AttorneyEmail>
  <AttorneyFullName>sample string 19</AttorneyFullName>
  <AttorneyTempUserProfileID>1</AttorneyTempUserProfileID>
  <AttorneyUserProfileID>1</AttorneyUserProfileID>
  <BookNo>1</BookNo>
  <ChooseAttorneyType>sample string 18</ChooseAttorneyType>
  <CreatedBy>23</CreatedBy>
  <DocumentNo>1</DocumentNo>
  <FullAddressOfAttorney>sample string 22</FullAddressOfAttorney>
  <LetterNo>sample string 14</LetterNo>
  <LocationID>1</LocationID>
  <Measurement>sample string 7</Measurement>
  <MembershipNo>sample string 15</MembershipNo>
  <MembershipObtainDate>sample string 16</MembershipObtainDate>
  <NextOfKins>
    <ViewNextOfKin>
      <Address1>sample string 7</Address1>
      <NextOfKinCell>sample string 5</NextOfKinCell>
      <NextOfKinEmail>sample string 6</NextOfKinEmail>
      <NextOfKinFullName>sample string 3</NextOfKinFullName>
      <NextOfKinNationalityNo>sample string 4</NextOfKinNationalityNo>
      <NextOfKinPercentage>1</NextOfKinPercentage>
      <NextOfKinRelation>sample string 2</NextOfKinRelation>
      <NextOfKinTempUserProfileID>1</NextOfKinTempUserProfileID>
      <NextOfKinUserProfileID>1</NextOfKinUserProfileID>
      <TempNextOfKinID>1</TempNextOfKinID>
    </ViewNextOfKin>
    <ViewNextOfKin>
      <Address1>sample string 7</Address1>
      <NextOfKinCell>sample string 5</NextOfKinCell>
      <NextOfKinEmail>sample string 6</NextOfKinEmail>
      <NextOfKinFullName>sample string 3</NextOfKinFullName>
      <NextOfKinNationalityNo>sample string 4</NextOfKinNationalityNo>
      <NextOfKinPercentage>1</NextOfKinPercentage>
      <NextOfKinRelation>sample string 2</NextOfKinRelation>
      <NextOfKinTempUserProfileID>1</NextOfKinTempUserProfileID>
      <NextOfKinUserProfileID>1</NextOfKinUserProfileID>
      <TempNextOfKinID>1</TempNextOfKinID>
    </ViewNextOfKin>
  </NextOfKins>
  <OwnerAddress1>sample string 10</OwnerAddress1>
  <OwnerName>sample string 9</OwnerName>
  <PertageOwnedbyOwner>1</PertageOwnedbyOwner>
  <PhoneCell>sample string 11</PhoneCell>
  <PropDate>sample string 13</PropDate>
  <PropertyArea>sample string 6</PropertyArea>
  <PropertyCategory>1</PropertyCategory>
  <PropertyName>sample string 5</PropertyName>
  <PropertyOwnerNationalityNumber>sample string 12</PropertyOwnerNationalityNumber>
  <PropertySubType>sample string 3</PropertySubType>
  <PropertyTaxes>
    <ViewPropertyTax>
      <CountryCurrency>sample string 3</CountryCurrency>
      <PropertyTaxAmount>1</PropertyTaxAmount>
      <PropertyTaxYear>sample string 2</PropertyTaxYear>
      <TaxRegistrationNumber>sample string 1</TaxRegistrationNumber>
    </ViewPropertyTax>
    <ViewPropertyTax>
      <CountryCurrency>sample string 3</CountryCurrency>
      <PropertyTaxAmount>1</PropertyTaxAmount>
      <PropertyTaxYear>sample string 2</PropertyTaxYear>
      <TaxRegistrationNumber>sample string 1</TaxRegistrationNumber>
    </ViewPropertyTax>
  </PropertyTaxes>
  <PropertyType>sample string 2</PropertyType>
  <ShareHolders>
    <ViewShareHolder>
      <Address1>sample string 4</Address1>
      <Cell>sample string 5</Cell>
      <NationalityNo>sample string 6</NationalityNo>
      <Percentage>1</Percentage>
      <ShareHolderEmail>sample string 7</ShareHolderEmail>
      <ShareholderFullName>sample string 3</ShareholderFullName>
      <ShareholderRelation>sample string 2</ShareholderRelation>
      <TempShareholderID>1</TempShareholderID>
      <TempUserProfileID>1</TempUserProfileID>
      <UserProfileID>1</UserProfileID>
    </ViewShareHolder>
    <ViewShareHolder>
      <Address1>sample string 4</Address1>
      <Cell>sample string 5</Cell>
      <NationalityNo>sample string 6</NationalityNo>
      <Percentage>1</Percentage>
      <ShareHolderEmail>sample string 7</ShareHolderEmail>
      <ShareholderFullName>sample string 3</ShareholderFullName>
      <ShareholderRelation>sample string 2</ShareholderRelation>
      <TempShareholderID>1</TempShareholderID>
      <TempUserProfileID>1</TempUserProfileID>
      <UserProfileID>1</UserProfileID>
    </ViewShareHolder>
  </ShareHolders>
  <TempPropertyDetailID>1</TempPropertyDetailID>
  <TransferLetterDate>sample string 17</TransferLetterDate>
  <UpdatedBy>24</UpdatedBy>
  <VolumeNo>1</VolumeNo>
  <YearBuild>sample string 8</YearBuild>
  <propertyPinNumber>sample string 4</propertyPinNumber>
</ViewModelAttorny>

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>