POST api/NationalityAPIs/NewSortNationality

Request Information

URI Parameters

None.

Body Parameters

NationalityDTO
NameDescriptionTypeAdditional information
Id

integer

None.

NameEn

string

None.

NameAr

string

None.

SortIndex

integer

None.

IsActive

boolean

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,
  "NameEn": "sample string 2",
  "NameAr": "sample string 3",
  "SortIndex": 4,
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 7,
  "CreatedDate": "2020-05-26T14:26:27.9645212-07:00",
  "ModifiedBy": 9,
  "ModifiedDate": "2020-05-26T14:26:27.9645212-07:00",
  "DeletedBy": 11,
  "DeletedDate": "2020-05-26T14:26:27.9645212-07:00",
  "Status": true,
  "StatusCode": 14,
  "Message": "sample string 15",
  "Result": "sample string 16",
  "FlagId": 17
}

application/xml, text/xml

Sample:
<NationalityDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drCafeCoffeeAPI.DTOs">
  <CreatedBy>7</CreatedBy>
  <CreatedDate>2020-05-26T14:26:27.9645212-07:00</CreatedDate>
  <DeletedBy>11</DeletedBy>
  <DeletedDate>2020-05-26T14:26:27.9645212-07:00</DeletedDate>
  <FlagId>17</FlagId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Message>sample string 15</Message>
  <ModifiedBy>9</ModifiedBy>
  <ModifiedDate>2020-05-26T14:26:27.9645212-07:00</ModifiedDate>
  <NameAr>sample string 3</NameAr>
  <NameEn>sample string 2</NameEn>
  <Result>sample string 16</Result>
  <SortIndex>4</SortIndex>
  <Status>true</Status>
  <StatusCode>14</StatusCode>
</NationalityDTO>

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.