POST api/Admin/DeletePerson

Request Information

URI Parameters

None.

Body Parameters

PrivateModel
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Email

string

None.

StreetName

string

None.

Suburb

string

None.

PostalCode

string

None.

StatePL

integer

None.

CountryPL

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

PhoneNumber

string

None.

MobileNumber

string

None.

LicenseNumber

string

None.

Fax

string

None.

Notes

string

None.

TransportCost

decimal number

None.

PersonId

integer

None.

PhoneNoId

integer

None.

MobileNoId

integer

None.

MiddleName

string

None.

LicenceNo

string

None.

City

string

None.

WorkPhone

string

None.

Mobile

string

None.

WorkPhoneId

integer

None.

MobilePhoneId

integer

None.

AddressId

integer

None.

VendorId

integer

None.

PurchaseSourcePL

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Email": "sample string 3",
  "StreetName": "sample string 4",
  "Suburb": "sample string 5",
  "PostalCode": "sample string 6",
  "StatePL": 1,
  "CountryPL": 1,
  "CreatedBy": 7,
  "CreatedDate": "2020-02-27T04:46:32.8927237+11:00",
  "PhoneNumber": "sample string 9",
  "MobileNumber": "sample string 10",
  "LicenseNumber": "sample string 11",
  "Fax": "sample string 12",
  "Notes": "sample string 13",
  "TransportCost": 14.0,
  "PersonId": 15,
  "PhoneNoId": 16,
  "MobileNoId": 17,
  "MiddleName": "sample string 18",
  "LicenceNo": "sample string 19",
  "City": "sample string 20",
  "WorkPhone": "sample string 21",
  "Mobile": "sample string 22",
  "WorkPhoneId": 1,
  "MobilePhoneId": 1,
  "AddressId": 1,
  "VendorId": 23,
  "PurchaseSourcePL": 24
}

application/xml, text/xml

Sample:
<PrivateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <AddressId>1</AddressId>
  <City>sample string 20</City>
  <CountryPL>1</CountryPL>
  <CreatedBy>7</CreatedBy>
  <CreatedDate>2020-02-27T04:46:32.8927237+11:00</CreatedDate>
  <Email>sample string 3</Email>
  <Fax>sample string 12</Fax>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <LicenceNo>sample string 19</LicenceNo>
  <LicenseNumber>sample string 11</LicenseNumber>
  <MiddleName>sample string 18</MiddleName>
  <Mobile>sample string 22</Mobile>
  <MobileNoId>17</MobileNoId>
  <MobileNumber>sample string 10</MobileNumber>
  <MobilePhoneId>1</MobilePhoneId>
  <Notes>sample string 13</Notes>
  <PersonId>15</PersonId>
  <PhoneNoId>16</PhoneNoId>
  <PhoneNumber>sample string 9</PhoneNumber>
  <PostalCode>sample string 6</PostalCode>
  <PurchaseSourcePL>24</PurchaseSourcePL>
  <StatePL>1</StatePL>
  <StreetName>sample string 4</StreetName>
  <Suburb>sample string 5</Suburb>
  <TransportCost>14</TransportCost>
  <VendorId>23</VendorId>
  <WorkPhone>sample string 21</WorkPhone>
  <WorkPhoneId>1</WorkPhoneId>
</PrivateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.