GET jxc_api/WarehousingReturn/InitDataFromPo?fid={fid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fid

integer

Required

Body Parameters

None.

Response Information

Resource Description

WarehousingModel
NameDescriptionTypeAdditional information
AsId

integer

None.

Id

integer

None.

No

string

None.

PoNo

string

None.

PoId

integer

None.

WhsNo

string

None.

WhsId

integer

None.

BType

BillType

None.

Date

date

None.

DateFmt

string

None.

SettlePeriodId

integer

None.

SettlePeriodName

string

None.

SettlePeriodValue

integer

None.

SettlePeriodType

integer

None.

SettlePeriodDate

date

None.

SettlePeriodDateFmt

string

None.

VendId

integer

None.

VendName

string

None.

VendTaxRate

decimal number

None.

Purchaser

integer

None.

PurchaserName

string

None.

DiscRate

decimal number

None.

DiscAmount

decimal number

None.

Amount

decimal number

None.

QTY

decimal number

None.

AmountFirst

decimal number

None.

Expense

decimal number

None.

AcId

integer

None.

AcName

string

None.

PrintCount

integer

None.

Note

string

None.

OfAmount

decimal number

None.

OfStatus

integer

None.

CreatedByName

string

None.

CreatedDate

date

None.

ModifiedByName

string

None.

ModifiedDate

date

None.

PayStatus

BillStatus

None.

IsChecked

integer

None.

CheckedByName

string

None.

CheckedDate

date

None.

AccountingItemId

integer

None.

AccountingItemName

string

None.

DepartmentId

integer

None.

DepartmentName

string

None.

InvoiceTypeName

string

None.

InvoiceType

integer

None.

Items

Collection of WarehousingEntryModel

None.

ExpenseItems

Collection of ExpenseModel

None.

PayInfoItems

Collection of PayModel

None.

PId

integer

None.

VId

integer

None.

RelaBills

Collection of IdNoPair

None.

CanCreateRelaBills

boolean

None.

RelaPo

IdNoPair

None.

RelaPos

Collection of IdNoPair

None.

RelaWhs

IdNoPair

None.

RelaWhses

Collection of IdNoPair

None.

RelatedBills

Collection of IdNoPair

None.

ShareExpense

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Id": 2,
  "No": "sample string 3",
  "PoNo": "sample string 4",
  "PoId": 5,
  "WhsNo": "sample string 6",
  "WhsId": 7,
  "BType": 1010,
  "Date": "2024-11-25 02:30:01",
  "DateFmt": "2024-11-25",
  "SettlePeriodId": 9,
  "SettlePeriodName": "sample string 10",
  "SettlePeriodValue": 11,
  "SettlePeriodType": 12,
  "SettlePeriodDate": "2024-11-25 02:30:01",
  "SettlePeriodDateFmt": "2024-11-25",
  "VendId": 14,
  "VendName": "sample string 15",
  "VendTaxRate": 16.0,
  "Purchaser": 17,
  "PurchaserName": "sample string 18",
  "DiscRate": 19.0,
  "DiscAmount": 20.0,
  "Amount": 21.0,
  "QTY": 22.0,
  "AmountFirst": 23.0,
  "Expense": 24.0,
  "AcId": 25,
  "AcName": "sample string 26",
  "PrintCount": 27,
  "Note": "sample string 28",
  "OfAmount": 29.0,
  "OfStatus": 30,
  "CreatedByName": "sample string 31",
  "CreatedDate": "2024-11-25 02:30:01",
  "ModifiedByName": "sample string 33",
  "ModifiedDate": "2024-11-25 02:30:01",
  "PayStatus": 1010,
  "IsChecked": 35,
  "CheckedByName": "sample string 36",
  "CheckedDate": "2024-11-25 02:30:01",
  "AccountingItemId": 38,
  "AccountingItemName": "sample string 39",
  "DepartmentId": 40,
  "DepartmentName": "sample string 41",
  "InvoiceTypeName": "sample string 42",
  "InvoiceType": 43,
  "Items": [
    null,
    {
      "AsId": 1,
      "Id": 2,
      "RId": 3,
      "WhsId": 4,
      "WhsRId": 5,
      "ProdId": 6,
      "ProdName": "sample string 7",
      "ProdNo": "sample string 8",
      "ProdTaxRate": 1.0,
      "UseMultiUnits": true,
      "UseAp": true,
      "Spec": "sample string 11",
      "ApId": 12,
      "ApName": "sample string 13",
      "CatName": "sample string 14",
      "Brand": "sample string 15",
      "ProdLocation": "sample string 16",
      "WhId": 17,
      "WhName": "sample string 18",
      "RegNo": "sample string 19",
      "LicenseNo": "sample string 20",
      "UnitId": 21,
      "UnitName": "sample string 22",
      "Rate": 23.0,
      "QTY": 24.0,
      "StandardQTY": 25.0,
      "Price": 26.0,
      "PriceTax": 27.0,
      "DiscRate": 28.0,
      "DiscAmount": 29.0,
      "DiscAllocation": 30.0,
      "Amount": 31.0,
      "TaxRate": 32.0,
      "Tax": 33.0,
      "AmountTax": 34.0,
      "Expense": 35.0,
      "Note": "sample string 36",
      "WhsQTY": 37.0,
      "PoId": 38,
      "PoNo": "sample string 39",
      "PoeId": 40,
      "IsNotRelated": true,
      "WhsNo": "sample string 42",
      "BType": 1010,
      "Date": "2024-11-25 02:30:01",
      "VendId": 44,
      "WhsRNo": "sample string 45",
      "QTYR": 46.0,
      "IsChecked": 47,
      "Image": "sample string 48",
      "StrValue1": "sample string 49",
      "StrValue2": "sample string 50",
      "StrValue3": "sample string 51",
      "StrValue4": "sample string 52",
      "StrValue5": "sample string 53",
      "StrValue6": "sample string 54",
      "StrValue7": "sample string 55",
      "StrValue8": "sample string 56",
      "SoId": 57,
      "SoNo": "sample string 58",
      "SoeId": 59,
      "BatchNo": "sample string 60",
      "SerialNoItems": [
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        },
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        }
      ],
      "ProductionDate": "",
      "LifeTime": 0,
      "LifeTimeUnit": 0,
      "ExpDateCalMethodType": 0,
      "LifeTimeUnitName": "",
      "ExpirationDate": null,
      "SerialEnabled": false,
      "BatchEnabled": false,
      "LifeTimeEnabled": false
    }
  ],
  "ExpenseItems": [
    {
      "ExpId": 1,
      "VendId": 2,
      "VendName": "sample string 3",
      "ExpType": 4,
      "ExpTypeName": "sample string 5",
      "Amount": 6.0,
      "Note": "sample string 7",
      "ShareRule": 1001,
      "PayeeType": 1010,
      "PayeeTypeName": "sample string 8",
      "TaxRate": 9.0,
      "Tax": 10.0,
      "AmountTax": 11.0,
      "CustPayment": 12.0,
      "Id": 1,
      "OrpNo": "sample string 13",
      "PayeeId": 14,
      "PayeeName": "sample string 15",
      "ExpPid": 16,
      "SumCustAmount": 17.0,
      "SumAmount": 18.0,
      "IsCustPayment": true,
      "OrpeId": 20
    },
    {
      "ExpId": 1,
      "VendId": 2,
      "VendName": "sample string 3",
      "ExpType": 4,
      "ExpTypeName": "sample string 5",
      "Amount": 6.0,
      "Note": "sample string 7",
      "ShareRule": 1001,
      "PayeeType": 1010,
      "PayeeTypeName": "sample string 8",
      "TaxRate": 9.0,
      "Tax": 10.0,
      "AmountTax": 11.0,
      "CustPayment": 12.0,
      "Id": 1,
      "OrpNo": "sample string 13",
      "PayeeId": 14,
      "PayeeName": "sample string 15",
      "ExpPid": 16,
      "SumCustAmount": 17.0,
      "SumAmount": 18.0,
      "IsCustPayment": true,
      "OrpeId": 20
    }
  ],
  "PayInfoItems": [
    {
      "Id": 1,
      "AcId": 2,
      "AcName": "sample string 3",
      "Amount": 4.0,
      "PayMethod": 5,
      "PayMethodName": "sample string 6",
      "RefNo": "sample string 7"
    },
    {
      "Id": 1,
      "AcId": 2,
      "AcName": "sample string 3",
      "Amount": 4.0,
      "PayMethod": 5,
      "PayMethodName": "sample string 6",
      "RefNo": "sample string 7"
    }
  ],
  "PId": 44,
  "VId": 45,
  "RelaBills": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "CanCreateRelaBills": true,
  "RelaPo": {
    "Id": 1,
    "No": "sample string 2",
    "BType": 1010
  },
  "RelaPos": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "RelaWhs": {
    "Id": 1,
    "No": "sample string 2",
    "BType": 1010
  },
  "RelaWhses": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "RelatedBills": [
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "BType": 1010
    }
  ],
  "ShareExpense": 47
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.