POST api/genLocation/Save

Request Information

URI Parameters

None.

Body Parameters

genLocation
NameDescriptionTypeAdditional information
IsDefaultLocation

boolean

None.

AlteredOn

date

None.

CreatedOn

date

None.

ActionTypeId

integer

None.

AddressId

integer

None.

AlteredById

integer

None.

BranchId

integer

None.

CompanyId

integer

None.

CreatedById

integer

None.

LocationId

integer

None.

LocationSettingId

integer

None.

LocationTypeProfileId

integer

None.

OrganizationId

integer

None.

ProjectId

integer

None.

UserLogId

integer

None.

Email

string

None.

FooterDetail

string

None.

HeaderDetail

string

None.

LicenseNo

string

None.

LocationName

string

None.

LocationShortName

string

None.

Mobile1

string

None.

Mobile2

string

None.

PortalURL

string

None.

SubLocationName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsDefaultLocation": true,
  "AlteredOn": "2025-10-29T13:05:06.2239518+05:00",
  "CreatedOn": "2025-10-29T13:05:06.2239518+05:00",
  "ActionTypeId": 4,
  "AddressId": 5,
  "AlteredById": 6,
  "BranchId": 7,
  "CompanyId": 8,
  "CreatedById": 9,
  "LocationId": 10,
  "LocationSettingId": 11,
  "LocationTypeProfileId": 12,
  "OrganizationId": 13,
  "ProjectId": 14,
  "UserLogId": 15,
  "Email": "sample string 16",
  "FooterDetail": "sample string 17",
  "HeaderDetail": "sample string 18",
  "LicenseNo": "sample string 19",
  "LocationName": "sample string 20",
  "LocationShortName": "sample string 21",
  "Mobile1": "sample string 22",
  "Mobile2": "sample string 23",
  "PortalURL": "sample string 24",
  "SubLocationName": "sample string 25"
}

application/xml, text/xml

Sample:
<genLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.ProfileManagement">
  <ActionTypeId>4</ActionTypeId>
  <AddressId>5</AddressId>
  <AlteredById>6</AlteredById>
  <AlteredOn>2025-10-29T13:05:06.2239518+05:00</AlteredOn>
  <BranchId>7</BranchId>
  <CompanyId>8</CompanyId>
  <CreatedById>9</CreatedById>
  <CreatedOn>2025-10-29T13:05:06.2239518+05:00</CreatedOn>
  <Email>sample string 16</Email>
  <FooterDetail>sample string 17</FooterDetail>
  <HeaderDetail>sample string 18</HeaderDetail>
  <IsDefaultLocation>true</IsDefaultLocation>
  <LicenseNo>sample string 19</LicenseNo>
  <LocationId>10</LocationId>
  <LocationName>sample string 20</LocationName>
  <LocationSettingId>11</LocationSettingId>
  <LocationShortName>sample string 21</LocationShortName>
  <LocationTypeProfileId>12</LocationTypeProfileId>
  <Mobile1>sample string 22</Mobile1>
  <Mobile2>sample string 23</Mobile2>
  <OrganizationId>13</OrganizationId>
  <PortalURL>sample string 24</PortalURL>
  <ProjectId>14</ProjectId>
  <SubLocationName>sample string 25</SubLocationName>
  <UserLogId>15</UserLogId>
</genLocation>

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 'genLocation'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.