POST api/InvSupplyOrder/GenerateInvSupplyOrderCodeByDocId

Request Information

URI Parameters

None.

Body Parameters

InvSupplyOrder
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

PostState

boolean

None.

DocDate

date

None.

EntryDate

date

None.

ModifyDate

date

None.

PostDate

date

None.

BranchesId

integer

None.

CompanyId

integer

None.

DocNo

integer

None.

DocumentTypeId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

PostUser

integer

None.

ProjectsId

integer

None.

BiltyNos

string

None.

DestinationsLocation

string

None.

ManualRefNo

string

None.

RemarksHeader

string

None.

SupplyOrderStatus

string

None.

VehicleNos

string

None.

InvSupplyOrderDetailList

Collection of InvSupplyOrderDetail

None.

AttachmentsList

Collection of DMSAttachments

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 'AttachmentsList[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 'AttachmentsList[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 'InvSupplyOrder'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>