POST api/SaiPO/FilterPO
Request Information
URI Parameters
None.
Body Parameters
SAIPOSearchCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceMaster | string |
None. |
|
| Vendor | string |
None. |
|
| Buyer | string |
None. |
|
| Break1Type | string |
None. |
|
| Break1Code | string |
None. |
|
| Break2Type | string |
None. |
|
| Break2Code | string |
None. |
|
| Status | string |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| Action | string |
None. |
|
| SortBy | string |
None. |
|
| OrderBy | string |
None. |
|
| Limit | integer |
None. |
|
| Offset | integer |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| Account | Account |
None. |
|
| SAICompany | SAICompany |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | string |
None. |
|
| IsLockedForEditing | boolean |
None. |
|
| LockedBy | string |
None. |
|
| Id | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of POListGrid| Name | Description | Type | Additional information |
|---|---|---|---|
| PONum | string |
None. |
|
| SDServiceMasterId | string |
None. |
|
| SMName | string |
None. |
|
| OrderDate | date |
None. |
|
| POStatus | string |
None. |
|
| VendorName | string |
None. |
|
| POTotal | decimal number |
None. |
|
| Break1Code | string |
None. |
|
| Break1Desc | string |
None. |
|
| Break2Code | string |
None. |
|
| Break2Desc | string |
None. |
|
| Buyer | string |
None. |
|
| Break1Type | string |
None. |
|
| Break2Type | string |
None. |
|
| IsPurchaser | boolean |
None. |
|
| VendorId | string |
None. |
|
| SMFirstandLastName | string |
None. |
|
| ExpectedDate | date |
None. |
|
| Description | string |
None. |
|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedOn | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PONum": "sample string 1",
"SDServiceMasterId": "sample string 2",
"SMName": "sample string 3",
"OrderDate": "2025-12-16T21:58:30.6643894+00:00",
"POStatus": "sample string 5",
"VendorName": "sample string 6",
"POTotal": 7.0,
"Break1Code": "sample string 8",
"Break1Desc": "sample string 9",
"Break2Code": "sample string 10",
"Break2Desc": "sample string 11",
"Buyer": "sample string 12",
"Break1Type": "sample string 13",
"Break2Type": "sample string 14",
"IsPurchaser": true,
"VendorId": "sample string 16",
"SMFirstandLastName": "sample string 17",
"ExpectedDate": "2025-12-16T21:58:30.6643894+00:00",
"Description": "sample string 19",
"AccountId": 20,
"CompanyId": "sample string 21",
"CreatedBy": "sample string 22",
"CreatedOn": "2025-12-16T21:58:30.6643894+00:00"
},
{
"PONum": "sample string 1",
"SDServiceMasterId": "sample string 2",
"SMName": "sample string 3",
"OrderDate": "2025-12-16T21:58:30.6643894+00:00",
"POStatus": "sample string 5",
"VendorName": "sample string 6",
"POTotal": 7.0,
"Break1Code": "sample string 8",
"Break1Desc": "sample string 9",
"Break2Code": "sample string 10",
"Break2Desc": "sample string 11",
"Buyer": "sample string 12",
"Break1Type": "sample string 13",
"Break2Type": "sample string 14",
"IsPurchaser": true,
"VendorId": "sample string 16",
"SMFirstandLastName": "sample string 17",
"ExpectedDate": "2025-12-16T21:58:30.6643894+00:00",
"Description": "sample string 19",
"AccountId": 20,
"CompanyId": "sample string 21",
"CreatedBy": "sample string 22",
"CreatedOn": "2025-12-16T21:58:30.6643894+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfPOListGrid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SAI.PO">
<POListGrid>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">20</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 21</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 22</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T21:58:30.6643894+00:00</CreatedOn>
<Break1Code>sample string 8</Break1Code>
<Break1Desc>sample string 9</Break1Desc>
<Break1Type>sample string 13</Break1Type>
<Break2Code>sample string 10</Break2Code>
<Break2Desc>sample string 11</Break2Desc>
<Break2Type>sample string 14</Break2Type>
<Buyer>sample string 12</Buyer>
<Description>sample string 19</Description>
<ExpectedDate>2025-12-16T21:58:30.6643894+00:00</ExpectedDate>
<IsPurchaser>true</IsPurchaser>
<OrderDate>2025-12-16T21:58:30.6643894+00:00</OrderDate>
<PONum>sample string 1</PONum>
<POStatus>sample string 5</POStatus>
<POTotal>7</POTotal>
<SDServiceMasterId>sample string 2</SDServiceMasterId>
<SMFirstandLastName>sample string 17</SMFirstandLastName>
<SMName>sample string 3</SMName>
<VendorId>sample string 16</VendorId>
<VendorName>sample string 6</VendorName>
</POListGrid>
<POListGrid>
<AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">20</AccountId>
<CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 21</CompanyId>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 22</CreatedBy>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T21:58:30.6643894+00:00</CreatedOn>
<Break1Code>sample string 8</Break1Code>
<Break1Desc>sample string 9</Break1Desc>
<Break1Type>sample string 13</Break1Type>
<Break2Code>sample string 10</Break2Code>
<Break2Desc>sample string 11</Break2Desc>
<Break2Type>sample string 14</Break2Type>
<Buyer>sample string 12</Buyer>
<Description>sample string 19</Description>
<ExpectedDate>2025-12-16T21:58:30.6643894+00:00</ExpectedDate>
<IsPurchaser>true</IsPurchaser>
<OrderDate>2025-12-16T21:58:30.6643894+00:00</OrderDate>
<PONum>sample string 1</PONum>
<POStatus>sample string 5</POStatus>
<POTotal>7</POTotal>
<SDServiceMasterId>sample string 2</SDServiceMasterId>
<SMFirstandLastName>sample string 17</SMFirstandLastName>
<SMName>sample string 3</SMName>
<VendorId>sample string 16</VendorId>
<VendorName>sample string 6</VendorName>
</POListGrid>
</ArrayOfPOListGrid>