GET Api/SalesProFormas?companyId={companyId}&accountId={accountId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

accountId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SalesProFormaVm
NameDescriptionTypeAdditional information
SalesProFormaId

integer

None.

SalesProFormaAccountName

string

None.

SalesProFormaDateTime

string

None.

SalesProFormaDateTimeValidTill

string

None.

SalesProFormaAccountDeliveryAddressStreet

string

None.

SalesProFormaAccountDeliveryAddresscity

string

None.

SalesProFormaStatus

string

None.

SalesProFormaReference

string

None.

SalesProFormaTotalValueExVat

decimal number

None.

IsSalesProFormaOpen

boolean

None.

SalesProFormaDescription

string

None.

AccountLanguageId

integer

None.

SalesProFormaExpiryDate

string

None.

SalesProFormaNumber

string

None.

SalesProFormaDateCreated

string

None.

SalesProFormaUserCreated

string

None.

SalesProFormaDateChanged

string

None.

SalesProFormaUserChanged

string

None.

SalesProFormaAccountAlias

string

None.

SalesProFormaTotalValueInVat

decimal number

None.

DocumentsNameLists

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "salesProFormaId": 1,
    "salesProFormaAccountName": "sample string 2",
    "salesProFormaDateTime": "sample string 3",
    "salesProFormaDateTimeValidTill": "sample string 4",
    "salesProFormaAccountDeliveryAddressStreet": "sample string 5",
    "salesProFormaAccountDeliveryAddresscity": "sample string 6",
    "salesProFormaStatus": "sample string 7",
    "salesProFormaReference": "sample string 8",
    "salesProFormaTotalValueExVat": 9.0,
    "isSalesProFormaOpen": true,
    "salesProFormaDescription": "sample string 11",
    "accountLanguageId": 1,
    "salesProFormaExpiryDate": "sample string 12",
    "salesProFormaNumber": "sample string 13",
    "salesProFormaDateCreated": "sample string 14",
    "salesProFormaUserCreated": "sample string 15",
    "salesProFormaDateChanged": "sample string 16",
    "salesProFormaUserChanged": "sample string 17",
    "salesProFormaAccountAlias": "sample string 18",
    "salesProFormaTotalValueInVat": 19.0,
    "documentsNameLists": "sample string 20"
  },
  {
    "salesProFormaId": 1,
    "salesProFormaAccountName": "sample string 2",
    "salesProFormaDateTime": "sample string 3",
    "salesProFormaDateTimeValidTill": "sample string 4",
    "salesProFormaAccountDeliveryAddressStreet": "sample string 5",
    "salesProFormaAccountDeliveryAddresscity": "sample string 6",
    "salesProFormaStatus": "sample string 7",
    "salesProFormaReference": "sample string 8",
    "salesProFormaTotalValueExVat": 9.0,
    "isSalesProFormaOpen": true,
    "salesProFormaDescription": "sample string 11",
    "accountLanguageId": 1,
    "salesProFormaExpiryDate": "sample string 12",
    "salesProFormaNumber": "sample string 13",
    "salesProFormaDateCreated": "sample string 14",
    "salesProFormaUserCreated": "sample string 15",
    "salesProFormaDateChanged": "sample string 16",
    "salesProFormaUserChanged": "sample string 17",
    "salesProFormaAccountAlias": "sample string 18",
    "salesProFormaTotalValueInVat": 19.0,
    "documentsNameLists": "sample string 20"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSalesProFormaVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Api.Models.ViewModels">
  <SalesProFormaVm>
    <AccountLanguageId>1</AccountLanguageId>
    <IsSalesProFormaOpen>true</IsSalesProFormaOpen>
    <SalesProFormaAccountAlias>sample string 18</SalesProFormaAccountAlias>
    <SalesProFormaAccountDeliveryAddressStreet>sample string 5</SalesProFormaAccountDeliveryAddressStreet>
    <SalesProFormaAccountDeliveryAddresscity>sample string 6</SalesProFormaAccountDeliveryAddresscity>
    <SalesProFormaAccountName>sample string 2</SalesProFormaAccountName>
    <SalesProFormaDateChanged>sample string 16</SalesProFormaDateChanged>
    <SalesProFormaDateCreated>sample string 14</SalesProFormaDateCreated>
    <SalesProFormaDateTime>sample string 3</SalesProFormaDateTime>
    <SalesProFormaDateTimeValidTill>sample string 4</SalesProFormaDateTimeValidTill>
    <SalesProFormaDescription>sample string 11</SalesProFormaDescription>
    <SalesProFormaExpiryDate>sample string 12</SalesProFormaExpiryDate>
    <SalesProFormaId>1</SalesProFormaId>
    <SalesProFormaNumber>sample string 13</SalesProFormaNumber>
    <SalesProFormaReference>sample string 8</SalesProFormaReference>
    <SalesProFormaStatus>sample string 7</SalesProFormaStatus>
    <SalesProFormaTotalValueExVat>9</SalesProFormaTotalValueExVat>
    <SalesProFormaUserChanged>sample string 17</SalesProFormaUserChanged>
    <SalesProFormaUserCreated>sample string 15</SalesProFormaUserCreated>
  </SalesProFormaVm>
  <SalesProFormaVm>
    <AccountLanguageId>1</AccountLanguageId>
    <IsSalesProFormaOpen>true</IsSalesProFormaOpen>
    <SalesProFormaAccountAlias>sample string 18</SalesProFormaAccountAlias>
    <SalesProFormaAccountDeliveryAddressStreet>sample string 5</SalesProFormaAccountDeliveryAddressStreet>
    <SalesProFormaAccountDeliveryAddresscity>sample string 6</SalesProFormaAccountDeliveryAddresscity>
    <SalesProFormaAccountName>sample string 2</SalesProFormaAccountName>
    <SalesProFormaDateChanged>sample string 16</SalesProFormaDateChanged>
    <SalesProFormaDateCreated>sample string 14</SalesProFormaDateCreated>
    <SalesProFormaDateTime>sample string 3</SalesProFormaDateTime>
    <SalesProFormaDateTimeValidTill>sample string 4</SalesProFormaDateTimeValidTill>
    <SalesProFormaDescription>sample string 11</SalesProFormaDescription>
    <SalesProFormaExpiryDate>sample string 12</SalesProFormaExpiryDate>
    <SalesProFormaId>1</SalesProFormaId>
    <SalesProFormaNumber>sample string 13</SalesProFormaNumber>
    <SalesProFormaReference>sample string 8</SalesProFormaReference>
    <SalesProFormaStatus>sample string 7</SalesProFormaStatus>
    <SalesProFormaTotalValueExVat>9</SalesProFormaTotalValueExVat>
    <SalesProFormaUserChanged>sample string 17</SalesProFormaUserChanged>
    <SalesProFormaUserCreated>sample string 15</SalesProFormaUserCreated>
  </SalesProFormaVm>
</ArrayOfSalesProFormaVm>