POST api/BusinessAddressAPI/NewAddBusinessAddress

Request Information

URI Parameters

None.

Body Parameters

BusinessAddressDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryId

integer

None.

AddressEn

string

None.

AddressAr

string

None.

Email

string

None.

PhoneNumber

string

None.

Website

string

None.

Latitude

string

None.

Longitude

string

None.

IsActive

boolean

None.

IsDeleted

boolean

None.

Message

string

None.

Status

boolean

None.

StatusCode

integer

None.

Result

string

None.

CategoryList

string

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

FlagId

integer

None.

TitleEn

string

None.

TitleAr

string

None.

LWebsite

string

None.

LEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CategoryId": 2,
  "AddressEn": "sample string 3",
  "AddressAr": "sample string 4",
  "Email": "sample string 5",
  "PhoneNumber": "sample string 6",
  "Website": "sample string 7",
  "Latitude": "sample string 8",
  "Longitude": "sample string 9",
  "IsActive": true,
  "IsDeleted": true,
  "Message": "sample string 12",
  "Status": true,
  "StatusCode": 14,
  "Result": "sample string 15",
  "CategoryList": "sample string 16",
  "CreatedBy": 17,
  "ModifiedBy": 18,
  "DeletedBy": 19,
  "FlagId": 20,
  "TitleEn": "sample string 21",
  "TitleAr": "sample string 22",
  "LWebsite": "sample string 23",
  "LEmail": "sample string 24"
}

application/xml, text/xml

Sample:
<BusinessAddressDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YRGlobalServices.DTO_s">
  <AddressAr>sample string 4</AddressAr>
  <AddressEn>sample string 3</AddressEn>
  <CategoryId>2</CategoryId>
  <CategoryList>sample string 16</CategoryList>
  <CreatedBy>17</CreatedBy>
  <DeletedBy>19</DeletedBy>
  <Email>sample string 5</Email>
  <FlagId>20</FlagId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <LEmail>sample string 24</LEmail>
  <LWebsite>sample string 23</LWebsite>
  <Latitude>sample string 8</Latitude>
  <Longitude>sample string 9</Longitude>
  <Message>sample string 12</Message>
  <ModifiedBy>18</ModifiedBy>
  <PhoneNumber>sample string 6</PhoneNumber>
  <Result>sample string 15</Result>
  <Status>true</Status>
  <StatusCode>14</StatusCode>
  <TitleAr>sample string 22</TitleAr>
  <TitleEn>sample string 21</TitleEn>
  <Website>sample string 7</Website>
</BusinessAddressDTO>

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.