POST api/genPartyLocation/Save

Request Information

URI Parameters

None.

Body Parameters

genPartyLocation
NameDescriptionTypeAdditional information
IsActive

boolean

None.

IsAllowShare

boolean

None.

IsCashInvoice

boolean

None.

IsCreditInvoice

boolean

None.

NeedLogin

boolean

None.

AlteredOn

date

None.

CreatedOn

date

None.

FlatSharePercent

decimal number

None.

ActionTypeId

integer

None.

CompanyId

integer

None.

OrganizationId

integer

None.

PartyLocationTypeProfileId

integer

None.

PartyLocationZoneProfileId

integer

None.

AddressId

integer

None.

AlteredById

integer

None.

CreatedById

integer

None.

PartyId

integer

None.

PartyLocationId

integer

None.

UserLogId

integer

None.

Mobile1

string

None.

Mobile2

string

None.

PartyLocationCode

string

None.

PartyLocationName

string

None.

PartyLocationPrefix

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "IsAllowShare": true,
  "IsCashInvoice": true,
  "IsCreditInvoice": true,
  "NeedLogin": true,
  "AlteredOn": "2025-10-29T13:05:57.3645101+05:00",
  "CreatedOn": "2025-10-29T13:05:57.3645101+05:00",
  "FlatSharePercent": 8.0,
  "ActionTypeId": 9,
  "CompanyId": 10,
  "OrganizationId": 11,
  "PartyLocationTypeProfileId": 12,
  "PartyLocationZoneProfileId": 13,
  "AddressId": 14,
  "AlteredById": 15,
  "CreatedById": 16,
  "PartyId": 17,
  "PartyLocationId": 18,
  "UserLogId": 19,
  "Mobile1": "sample string 20",
  "Mobile2": "sample string 21",
  "PartyLocationCode": "sample string 22",
  "PartyLocationName": "sample string 23",
  "PartyLocationPrefix": "sample string 24"
}

application/xml, text/xml

Sample:
<genPartyLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.EmployeeManagement">
  <ActionTypeId>9</ActionTypeId>
  <AddressId>14</AddressId>
  <AlteredById>15</AlteredById>
  <AlteredOn>2025-10-29T13:05:57.3645101+05:00</AlteredOn>
  <CompanyId>10</CompanyId>
  <CreatedById>16</CreatedById>
  <CreatedOn>2025-10-29T13:05:57.3645101+05:00</CreatedOn>
  <FlatSharePercent>8</FlatSharePercent>
  <IsActive>true</IsActive>
  <IsAllowShare>true</IsAllowShare>
  <IsCashInvoice>true</IsCashInvoice>
  <IsCreditInvoice>true</IsCreditInvoice>
  <Mobile1>sample string 20</Mobile1>
  <Mobile2>sample string 21</Mobile2>
  <NeedLogin>true</NeedLogin>
  <OrganizationId>11</OrganizationId>
  <PartyId>17</PartyId>
  <PartyLocationCode>sample string 22</PartyLocationCode>
  <PartyLocationId>18</PartyLocationId>
  <PartyLocationName>sample string 23</PartyLocationName>
  <PartyLocationPrefix>sample string 24</PartyLocationPrefix>
  <PartyLocationTypeProfileId>12</PartyLocationTypeProfileId>
  <PartyLocationZoneProfileId>13</PartyLocationZoneProfileId>
  <UserLogId>19</UserLogId>
</genPartyLocation>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.