POST api/SaleInvoices/GetAll

Request Information

URI Parameters

None.

Body Parameters

InvoicePagingModel
NameDescriptionTypeAdditional information
UserId

integer

None.

UserLogging

UsersModel

None.

PageNumber

integer

None.

RowCount

integer

None.

Search

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserLogging": {
    "User_Id": 1,
    "User_Name": "sample string 2",
    "User_FirstName": "sample string 3",
    "User_LastName": "sample string 4",
    "User_Email": "sample string 5",
    "User_Mobile": "sample string 6",
    "User_Address": "sample string 7",
    "User_RoleId": 8,
    "User_RoleName": "sample string 9",
    "User_Password": "sample string 10",
    "User_CashAccount": "sample string 11",
    "User_BranchNumber": 12,
    "User_BranchName": "sample string 13",
    "User_OnCash": true,
    "User_OtherUserData": true,
    "RowCount": 16,
    "IsAdmin": true
  },
  "PageNumber": 1,
  "RowCount": 2,
  "Search": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfListOfInvoiceModel
NameDescriptionTypeAdditional information
ApiMessage

ApiMessage

None.

Data

Collection of InvoiceModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ApiMessage": {
    "StatusCode": 1,
    "StatusMessage": "sample string 2"
  },
  "Data": [
    {
      "Inv_BranchId": 1,
      "Inv_BranchName": "sample string 2",
      "Inv_TypeId": 3,
      "Inv_EmpId": 4,
      "Inv_EmpName": "sample string 5",
      "Inv_Id": 6,
      "Inv_ClientId": 7,
      "Inv_ClientName": "sample string 8",
      "Inv_ToDistrictId": 9,
      "Inv_ToDistrictName": "sample string 10",
      "Inv_FromDistrictId": 11,
      "Inv_FromDistrictName": "sample string 12",
      "Inv_CarId": 13,
      "Inv_CarName": "sample string 14",
      "Inv_CarLevelName": "sample string 15",
      "Inv_DriverId": 16,
      "Inv_DriverName": "sample string 17",
      "Inv_Note": "sample string 18",
      "Inv_Reference": "sample string 19",
      "Inv_TotalAmount": 20.0,
      "Inv_AnotherFee": 21.0,
      "Inv_Discount": 22.0,
      "Inv_TotalAfterDiscount": 23.0,
      "Inv_Tax": 24.0,
      "Inv_NetAmount": 25.0,
      "Inv_Paid": 26.0,
      "Inv_Paid2": 27.0,
      "Inv_Remain": 28.0,
      "Inv_PayMode": 29,
      "Inv_PayMode2": 30,
      "Inv_Date": "sample string 31",
      "Inv_Time": "sample string 32",
      "Inv_Key": "sample string 33",
      "Inv_MainInvNum": 34,
      "Inv_IsReturned": true,
      "RowCount": 36
    },
    {
      "Inv_BranchId": 1,
      "Inv_BranchName": "sample string 2",
      "Inv_TypeId": 3,
      "Inv_EmpId": 4,
      "Inv_EmpName": "sample string 5",
      "Inv_Id": 6,
      "Inv_ClientId": 7,
      "Inv_ClientName": "sample string 8",
      "Inv_ToDistrictId": 9,
      "Inv_ToDistrictName": "sample string 10",
      "Inv_FromDistrictId": 11,
      "Inv_FromDistrictName": "sample string 12",
      "Inv_CarId": 13,
      "Inv_CarName": "sample string 14",
      "Inv_CarLevelName": "sample string 15",
      "Inv_DriverId": 16,
      "Inv_DriverName": "sample string 17",
      "Inv_Note": "sample string 18",
      "Inv_Reference": "sample string 19",
      "Inv_TotalAmount": 20.0,
      "Inv_AnotherFee": 21.0,
      "Inv_Discount": 22.0,
      "Inv_TotalAfterDiscount": 23.0,
      "Inv_Tax": 24.0,
      "Inv_NetAmount": 25.0,
      "Inv_Paid": 26.0,
      "Inv_Paid2": 27.0,
      "Inv_Remain": 28.0,
      "Inv_PayMode": 29,
      "Inv_PayMode2": 30,
      "Inv_Date": "sample string 31",
      "Inv_Time": "sample string 32",
      "Inv_Key": "sample string 33",
      "Inv_MainInvNum": 34,
      "Inv_IsReturned": true,
      "RowCount": 36
    }
  ]
}