POST api/SupplierCustomer/GetSupplierCustomerInfoByGLAccountId

Request Information

URI Parameters

None.

Body Parameters

SupplierCustomer
NameDescriptionTypeAdditional information
IsDebitCredit

boolean

None.

IsSubSupCust

boolean

None.

PostState

boolean

None.

Status

boolean

None.

CNIC_EXPIRY_DATE

date

None.

EntryDate

date

None.

ModifyDate

date

None.

PostDate

date

None.

CreditLimit

decimal number

None.

DebitCreditAmount

decimal number

None.

ActionId

integer

None.

AdvanceGlAcId

integer

None.

BranchId

integer

None.

CityId

integer

None.

CompanyId

integer

None.

CountryId

integer

None.

CustomerGroupId

integer

None.

EntryUser

integer

None.

GlAccountId

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

ParentsSupCustId

integer

None.

DiscountPolicyId

integer

None.

PostUser

integer

None.

ProfileGroupId

integer

None.

ProjectId

integer

None.

StateProvinceId

integer

None.

CustomerTypeId

integer

None.

PartyTypeId

integer

None.

Address1

string

None.

Address2

string

None.

CNIC

string

None.

CompanyName

string

None.

Email

string

None.

FirstName

string

None.

FTN_No

string

None.

LastName

string

None.

MobileOffice

string

None.

MobilePersonal

string

None.

NTN_No

string

None.

Phone

string

None.

PictureURL

string

None.

ReportingTitle

string

None.

STRN_No

string

None.

SupCustCode

string

None.

Title

string

None.

Town

string

None.

WebPage

string

None.

ZipCode

string

None.

PartyTypePrefix

string

None.

AccountTitle

string

None.

AccountTitleAdvance

string

None.

CustomerType

string

None.

PictureToDeletePhysically

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsDebitCredit": true,
  "IsSubSupCust": true,
  "PostState": true,
  "Status": true,
  "CNIC_EXPIRY_DATE": "2025-10-29T13:08:23.7552217+05:00",
  "EntryDate": "2025-10-29T13:08:23.7552217+05:00",
  "ModifyDate": "2025-10-29T13:08:23.7552217+05:00",
  "PostDate": "2025-10-29T13:08:23.7552217+05:00",
  "CreditLimit": 8.1,
  "DebitCreditAmount": 9.1,
  "ActionId": 10,
  "AdvanceGlAcId": 11,
  "BranchId": 12,
  "CityId": 13,
  "CompanyId": 14,
  "CountryId": 15,
  "CustomerGroupId": 16,
  "EntryUser": 17,
  "GlAccountId": 18,
  "Id": 19,
  "ModifyUser": 20,
  "OrganizationId": 21,
  "ParentsSupCustId": 22,
  "DiscountPolicyId": 23,
  "PostUser": 24,
  "ProfileGroupId": 25,
  "ProjectId": 26,
  "StateProvinceId": 27,
  "CustomerTypeId": 28,
  "PartyTypeId": 29,
  "Address1": "sample string 30",
  "Address2": "sample string 31",
  "CNIC": "sample string 32",
  "CompanyName": "sample string 33",
  "Email": "sample string 34",
  "FirstName": "sample string 35",
  "FTN_No": "sample string 36",
  "LastName": "sample string 37",
  "MobileOffice": "sample string 38",
  "MobilePersonal": "sample string 39",
  "NTN_No": "sample string 40",
  "Phone": "sample string 41",
  "PictureURL": "sample string 42",
  "ReportingTitle": "sample string 43",
  "STRN_No": "sample string 44",
  "SupCustCode": "sample string 45",
  "Title": "sample string 46",
  "Town": "sample string 47",
  "WebPage": "sample string 48",
  "ZipCode": "sample string 49",
  "PartyTypePrefix": "sample string 50",
  "AccountTitle": "sample string 51",
  "AccountTitleAdvance": "sample string 52",
  "CustomerType": "sample string 53",
  "PictureToDeletePhysically": "sample string 54"
}

application/xml, text/xml

Sample:
<SupplierCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <AccountTitle>sample string 51</AccountTitle>
  <AccountTitleAdvance>sample string 52</AccountTitleAdvance>
  <ActionId>10</ActionId>
  <Address1>sample string 30</Address1>
  <Address2>sample string 31</Address2>
  <AdvanceGlAcId>11</AdvanceGlAcId>
  <BranchId>12</BranchId>
  <CNIC>sample string 32</CNIC>
  <CNIC_EXPIRY_DATE>2025-10-29T13:08:23.7552217+05:00</CNIC_EXPIRY_DATE>
  <CityId>13</CityId>
  <CompanyId>14</CompanyId>
  <CompanyName>sample string 33</CompanyName>
  <CountryId>15</CountryId>
  <CreditLimit>8.1</CreditLimit>
  <CustomerGroupId>16</CustomerGroupId>
  <CustomerType>sample string 53</CustomerType>
  <CustomerTypeId>28</CustomerTypeId>
  <DebitCreditAmount>9.1</DebitCreditAmount>
  <DiscountPolicyId>23</DiscountPolicyId>
  <Email>sample string 34</Email>
  <EntryDate>2025-10-29T13:08:23.7552217+05:00</EntryDate>
  <EntryUser>17</EntryUser>
  <FTN_No>sample string 36</FTN_No>
  <FirstName>sample string 35</FirstName>
  <GlAccountId>18</GlAccountId>
  <Id>19</Id>
  <IsDebitCredit>true</IsDebitCredit>
  <IsSubSupCust>true</IsSubSupCust>
  <LastName>sample string 37</LastName>
  <MobileOffice>sample string 38</MobileOffice>
  <MobilePersonal>sample string 39</MobilePersonal>
  <ModifyDate>2025-10-29T13:08:23.7552217+05:00</ModifyDate>
  <ModifyUser>20</ModifyUser>
  <NTN_No>sample string 40</NTN_No>
  <OrganizationId>21</OrganizationId>
  <ParentsSupCustId>22</ParentsSupCustId>
  <PartyTypeId>29</PartyTypeId>
  <PartyTypePrefix>sample string 50</PartyTypePrefix>
  <Phone>sample string 41</Phone>
  <PictureToDeletePhysically>sample string 54</PictureToDeletePhysically>
  <PictureURL>sample string 42</PictureURL>
  <PostDate>2025-10-29T13:08:23.7552217+05:00</PostDate>
  <PostState>true</PostState>
  <PostUser>24</PostUser>
  <ProfileGroupId>25</ProfileGroupId>
  <ProjectId>26</ProjectId>
  <ReportingTitle>sample string 43</ReportingTitle>
  <STRN_No>sample string 44</STRN_No>
  <StateProvinceId>27</StateProvinceId>
  <Status>true</Status>
  <SupCustCode>sample string 45</SupCustCode>
  <Title>sample string 46</Title>
  <Town>sample string 47</Town>
  <WebPage>sample string 48</WebPage>
  <ZipCode>sample string 49</ZipCode>
</SupplierCustomer>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.