POST api/InvPurchaseInvoice/GetIdbyDocNoPurchaseInvoice

Request Information

URI Parameters

None.

Body Parameters

InvPurchaseInvoice
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

DocDate

date

None.

EntryDate

date

None.

ModifyDate

date

None.

DueDate

date

None.

PostDate

date

None.

SupplierInvoiceDate

date

None.

BillAmount

decimal number

None.

CashReceived

decimal number

None.

CommAmount

decimal number

None.

CommRate

decimal number

None.

FreightAmount

decimal number

None.

TransportAccountId

integer

None.

BranchesId

integer

None.

FinancialYearId

integer

None.

CommissionAgentId

integer

None.

CompanyId

integer

None.

DocNo

integer

None.

SalesTaxNo

integer

None.

DocumentTypeId

integer

None.

DocumentTypeSrNo

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

PostUser

integer

None.

ProjectsId

integer

None.

ReferencePartyId

integer

None.

StockPartyId

integer

None.

SupplierCustomerId

integer

None.

SupplierInvoiceNo

integer

None.

SupplierReferenceNo

integer

None.

DueDays

integer

None.

ActionId

integer

None.

CashAccountId

integer

None.

CommissionRemarks

string

None.

CommissionType

string

None.

IsAttachments

string

None.

IsTaxable

boolean

None.

ManualBillNo

string

None.

OtherRemarks

string

None.

RemarksHeader

string

None.

UomScheduleIdCmRate

string

None.

DeliveryTerm

string

None.

PaymentTermsId

integer

None.

BrokerAgentId

integer

None.

InvoiceTypeId

integer

None.

GhallaMandiId

integer

None.

BrokeryType

string

None.

BrokeryRate

decimal number

None.

BrokeryUom

decimal number

None.

BrokeryAmount

decimal number

None.

ShipToAddressId

integer

None.

SubPartyId

integer

None.

CommissionTypeId

integer

None.

DeliveryTermId

integer

None.

OtherExpenseAccountId

integer

None.

OtherExpenseAmount

decimal number

None.

AttachmentsValues

string

None.

CustomAttachmentsValues

string

None.

GpSrNo

integer

None.

PreviousDate

date

None.

VoucherHeadInvoices

VoucherHead

None.

CommonIdsForFinancials

CommonIdsForFinancials

None.

InvPurchaseInvoicejournalList

Collection of InvPurchaseInvoiceJournal

None.

InvPurchaseInvoiceExpList

Collection of InvPurchaseInvoiceExpense

None.

InvPurchaseInvoiceFreightList

Collection of InvPurchaseInvoiceFreight

None.

invPurchaseInvoiceDetailList

Collection of InvPurchaseInvoiceDetail

None.

InvPurchaseInvoiceEmptyBagslist

Collection of InvPurchaseInvoiceEmptyBags

None.

AttachmentsList

Collection of DMSAttachments

None.

DeleteAttachmentsList

Collection of DMSAttachments

None.

PaymentDuesSchedules

Collection of PaymentDueSchedule

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Architecture.Model.DMSAttachments'. Path 'VoucherHeadInvoices.voucherDetailList[0].DMSAttachmentsdetaillist[0].AttachmentList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Architecture.Model.DMSAttachments'. Path 'VoucherHeadInvoices.voucherDetailList[0].DMSAttachmentsdetaillist[0].AttachmentList'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Architecture.Model.DMSAttachments, Architecture.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Architecture.Model.DMSAttachments, Architecture.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.