POST api/genParty/Getall

Request Information

URI Parameters

None.

Body Parameters

genParty
NameDescriptionTypeAdditional information
PartyId

integer

None.

OrginizationId

integer

None.

CurrencyId

integer

None.

PartyTypeProfileId

integer

None.

PartyName

string

None.

PartyCode

string

None.

GST

string

None.

NTN

string

None.

CNIC

string

None.

PartyLogo

string

None.

PartyLogoImageURL

string

None.

IsActive

boolean

None.

CreatedOn

date

None.

CreatedById

integer

None.

AlteredById

integer

None.

AlteredOn

date

None.

ActionTypeId

integer

None.

UserLogId

integer

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PartyId": 1,
  "OrginizationId": 2,
  "CurrencyId": 3,
  "PartyTypeProfileId": 4,
  "PartyName": "sample string 5",
  "PartyCode": "sample string 6",
  "GST": "sample string 7",
  "NTN": "sample string 8",
  "CNIC": "sample string 9",
  "PartyLogo": "sample string 10",
  "PartyLogoImageURL": "sample string 11",
  "IsActive": true,
  "CreatedOn": "2025-10-29T13:06:03.8333563+05:00",
  "CreatedById": 13,
  "AlteredById": 14,
  "AlteredOn": "2025-10-29T13:06:03.8333563+05:00",
  "ActionTypeId": 15,
  "UserLogId": 16,
  "CompanyId": 17
}

application/xml, text/xml

Sample:
<genParty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.HRM.EmployeeManagement">
  <ActionTypeId>15</ActionTypeId>
  <AlteredById>14</AlteredById>
  <AlteredOn>2025-10-29T13:06:03.8333563+05:00</AlteredOn>
  <CNIC>sample string 9</CNIC>
  <CompanyId>17</CompanyId>
  <CreatedById>13</CreatedById>
  <CreatedOn>2025-10-29T13:06:03.8333563+05:00</CreatedOn>
  <CurrencyId>3</CurrencyId>
  <GST>sample string 7</GST>
  <IsActive>true</IsActive>
  <NTN>sample string 8</NTN>
  <OrginizationId>2</OrginizationId>
  <PartyCode>sample string 6</PartyCode>
  <PartyId>1</PartyId>
  <PartyLogo>sample string 10</PartyLogo>
  <PartyLogoImageURL>sample string 11</PartyLogoImageURL>
  <PartyName>sample string 5</PartyName>
  <PartyTypeProfileId>4</PartyTypeProfileId>
  <UserLogId>16</UserLogId>
</genParty>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.