GET Api/SalesProFormas?companyId={companyId}&accountId={accountId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
|
| accountId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SalesProFormaVm| Name | Description | Type | Additional information |
|---|---|---|---|
| SalesProFormaId | integer |
None. |
|
| SalesProFormaAccountName | string |
None. |
|
| SalesProFormaDateTime | string |
None. |
|
| SalesProFormaDateTimeValidTill | string |
None. |
|
| SalesProFormaAccountDeliveryAddressStreet | string |
None. |
|
| SalesProFormaAccountDeliveryAddresscity | string |
None. |
|
| SalesProFormaStatus | string |
None. |
|
| SalesProFormaTotalValueExVat | string |
None. |
|
| IsSalesProFormaOpen | boolean |
None. |
|
| SalesProFormaDescription | string |
None. |
|
| AccountLanguageId | integer |
None. |
|
| SalesProFormaNumber | string |
None. |
|
| SalesProFormaTotalValueInVat | 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",
"salesProFormaTotalValueExVat": "sample string 8",
"isSalesProFormaOpen": true,
"salesProFormaDescription": "sample string 10",
"accountLanguageId": 1,
"salesProFormaNumber": "sample string 11",
"salesProFormaTotalValueInVat": "sample string 12"
},
{
"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",
"salesProFormaTotalValueExVat": "sample string 8",
"isSalesProFormaOpen": true,
"salesProFormaDescription": "sample string 10",
"accountLanguageId": 1,
"salesProFormaNumber": "sample string 11",
"salesProFormaTotalValueInVat": "sample string 12"
}
]
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>
<SalesProFormaAccountDeliveryAddressStreet>sample string 5</SalesProFormaAccountDeliveryAddressStreet>
<SalesProFormaAccountDeliveryAddresscity>sample string 6</SalesProFormaAccountDeliveryAddresscity>
<SalesProFormaAccountName>sample string 2</SalesProFormaAccountName>
<SalesProFormaDateTime>sample string 3</SalesProFormaDateTime>
<SalesProFormaDateTimeValidTill>sample string 4</SalesProFormaDateTimeValidTill>
<SalesProFormaDescription>sample string 10</SalesProFormaDescription>
<SalesProFormaId>1</SalesProFormaId>
<SalesProFormaNumber>sample string 11</SalesProFormaNumber>
<SalesProFormaStatus>sample string 7</SalesProFormaStatus>
<SalesProFormaTotalValueExVat>sample string 8</SalesProFormaTotalValueExVat>
</SalesProFormaVm>
<SalesProFormaVm>
<AccountLanguageId>1</AccountLanguageId>
<IsSalesProFormaOpen>true</IsSalesProFormaOpen>
<SalesProFormaAccountDeliveryAddressStreet>sample string 5</SalesProFormaAccountDeliveryAddressStreet>
<SalesProFormaAccountDeliveryAddresscity>sample string 6</SalesProFormaAccountDeliveryAddresscity>
<SalesProFormaAccountName>sample string 2</SalesProFormaAccountName>
<SalesProFormaDateTime>sample string 3</SalesProFormaDateTime>
<SalesProFormaDateTimeValidTill>sample string 4</SalesProFormaDateTimeValidTill>
<SalesProFormaDescription>sample string 10</SalesProFormaDescription>
<SalesProFormaId>1</SalesProFormaId>
<SalesProFormaNumber>sample string 11</SalesProFormaNumber>
<SalesProFormaStatus>sample string 7</SalesProFormaStatus>
<SalesProFormaTotalValueExVat>sample string 8</SalesProFormaTotalValueExVat>
</SalesProFormaVm>
</ArrayOfSalesProFormaVm>