POST api/CityAPIs/NewSortCity

Request Information

URI Parameters

None.

Body Parameters

CityDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CityNameEn

string

None.

CityNameAr

string

None.

Latitude

string

None.

Longitude

string

None.

RegionsId

integer

None.

RegionNameEn

string

None.

RegionNameAr

string

None.

CountryId

integer

None.

CountryNameEn

string

None.

CountryNameAr

string

None.

IsActive

boolean

None.

SortIndex

integer

None.

IsDeleted

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Result

string

None.

FlagId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CityNameEn": "sample string 2",
  "CityNameAr": "sample string 3",
  "Latitude": "sample string 4",
  "Longitude": "sample string 5",
  "RegionsId": 6,
  "RegionNameEn": "sample string 7",
  "RegionNameAr": "sample string 8",
  "CountryId": 9,
  "CountryNameEn": "sample string 10",
  "CountryNameAr": "sample string 11",
  "IsActive": true,
  "SortIndex": 13,
  "IsDeleted": true,
  "CreatedBy": 15,
  "CreatedDate": "2020-05-26T13:44:05.9247866-07:00",
  "ModifiedBy": 17,
  "ModifiedDate": "2020-05-26T13:44:05.9247866-07:00",
  "DeletedBy": 19,
  "DeletedDate": "2020-05-26T13:44:05.9247866-07:00",
  "Status": true,
  "StatusCode": 22,
  "Message": "sample string 23",
  "Result": "sample string 24",
  "FlagId": 25
}

application/xml, text/xml

Sample:
<CityDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drCafeCoffeeAPI.DTOs">
  <CityNameAr>sample string 3</CityNameAr>
  <CityNameEn>sample string 2</CityNameEn>
  <CountryId>9</CountryId>
  <CountryNameAr>sample string 11</CountryNameAr>
  <CountryNameEn>sample string 10</CountryNameEn>
  <CreatedBy>15</CreatedBy>
  <CreatedDate>2020-05-26T13:44:05.9247866-07:00</CreatedDate>
  <DeletedBy>19</DeletedBy>
  <DeletedDate>2020-05-26T13:44:05.9247866-07:00</DeletedDate>
  <FlagId>25</FlagId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Latitude>sample string 4</Latitude>
  <Longitude>sample string 5</Longitude>
  <Message>sample string 23</Message>
  <ModifiedBy>17</ModifiedBy>
  <ModifiedDate>2020-05-26T13:44:05.9247866-07:00</ModifiedDate>
  <RegionNameAr>sample string 8</RegionNameAr>
  <RegionNameEn>sample string 7</RegionNameEn>
  <RegionsId>6</RegionsId>
  <Result>sample string 24</Result>
  <SortIndex>13</SortIndex>
  <Status>true</Status>
  <StatusCode>22</StatusCode>
</CityDTO>

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.