POST api/Province/Delete

Request Information

URI Parameters

None.

Body Parameters

Province
NameDescriptionTypeAdditional information
ID

integer

None.

PROVINCE

string

None.

COUNTRY_ID

integer

None.

COUNTRY

string

None.

STATUS_ID

integer

None.

STATUS

string

None.

CREATED_BY

string

None.

CREATED_ON

string

None.

UPDATED_BY

string

None.

UPDATED_ON

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PROVINCE": "sample string 2",
  "COUNTRY_ID": 3,
  "COUNTRY": "sample string 4",
  "STATUS_ID": 5,
  "STATUS": "sample string 6",
  "CREATED_BY": "sample string 7",
  "CREATED_ON": "sample string 8",
  "UPDATED_BY": "sample string 9",
  "UPDATED_ON": "sample string 10"
}

application/xml, text/xml

Sample:
<Province xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models">
  <COUNTRY>sample string 4</COUNTRY>
  <COUNTRY_ID>3</COUNTRY_ID>
  <CREATED_BY>sample string 7</CREATED_BY>
  <CREATED_ON>sample string 8</CREATED_ON>
  <ID>1</ID>
  <PROVINCE>sample string 2</PROVINCE>
  <STATUS>sample string 6</STATUS>
  <STATUS_ID>5</STATUS_ID>
  <UPDATED_BY>sample string 9</UPDATED_BY>
  <UPDATED_ON>sample string 10</UPDATED_ON>
</Province>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Province'.

Response Information

Resource Description

ResponseOfProvince
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseMessage

string

None.

Data

Collection of Province

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "Data": [
    {
      "ID": 1,
      "PROVINCE": "sample string 2",
      "COUNTRY_ID": 3,
      "COUNTRY": "sample string 4",
      "STATUS_ID": 5,
      "STATUS": "sample string 6",
      "CREATED_BY": "sample string 7",
      "CREATED_ON": "sample string 8",
      "UPDATED_BY": "sample string 9",
      "UPDATED_ON": "sample string 10"
    },
    {
      "ID": 1,
      "PROVINCE": "sample string 2",
      "COUNTRY_ID": 3,
      "COUNTRY": "sample string 4",
      "STATUS_ID": 5,
      "STATUS": "sample string 6",
      "CREATED_BY": "sample string 7",
      "CREATED_ON": "sample string 8",
      "UPDATED_BY": "sample string 9",
      "UPDATED_ON": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseOfProvince_SzSEHSlJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventMubarakAPI.Models">
  <Data>
    <Province>
      <COUNTRY>sample string 4</COUNTRY>
      <COUNTRY_ID>3</COUNTRY_ID>
      <CREATED_BY>sample string 7</CREATED_BY>
      <CREATED_ON>sample string 8</CREATED_ON>
      <ID>1</ID>
      <PROVINCE>sample string 2</PROVINCE>
      <STATUS>sample string 6</STATUS>
      <STATUS_ID>5</STATUS_ID>
      <UPDATED_BY>sample string 9</UPDATED_BY>
      <UPDATED_ON>sample string 10</UPDATED_ON>
    </Province>
    <Province>
      <COUNTRY>sample string 4</COUNTRY>
      <COUNTRY_ID>3</COUNTRY_ID>
      <CREATED_BY>sample string 7</CREATED_BY>
      <CREATED_ON>sample string 8</CREATED_ON>
      <ID>1</ID>
      <PROVINCE>sample string 2</PROVINCE>
      <STATUS>sample string 6</STATUS>
      <STATUS_ID>5</STATUS_ID>
      <UPDATED_BY>sample string 9</UPDATED_BY>
      <UPDATED_ON>sample string 10</UPDATED_ON>
    </Province>
  </Data>
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
</ResponseOfProvince_SzSEHSlJ>