Portal

<back to all web services

BrowseAllPurchaseOrder

Requires Authentication
The following routes are available for this service:
POST/user/{userid}/allpurchaseorders
BrowseAllPurchaseOrder Parameters:
NameParameterData TypeRequiredDescription
UserIdpathintNo
PaginationRequestBase Parameters:
NameParameterData TypeRequiredDescription
GridViewStateformGridViewStateYes
GridViewState Parameters:
NameParameterData TypeRequiredDescription
ColumnStateformGridViewColumnStateYes
ColumnFiltersformList<GridViewColumnFilter>Yes
PagerStateformGridViewPagerStateYes
IsReturnCountformboolNo
GridViewColumnState Parameters:
NameParameterData TypeRequiredDescription
FieldNameformstringYes
SortDirectionformGridSortDirectionNo
GridSortDirection Enum:
NameValue
None0
Asc1
Desc2
GridViewColumnFilter Parameters:
NameParameterData TypeRequiredDescription
FieldNameformstringYes
FilterValueformstringYes
OperatorformFilterOperatorNo
FilterOperator Enum:
NameValue
NotSet0
Equal1=
Greater2>
Less3<
GreaterOrEqual4>=
LessOrEqual5<=
NotEqual6<>
IsNull7 IS NULL
IsNotNull8 IS NOT NULL
Like9 LIKE
NotLike10 NOT LIKE
Begins11 LIKE
Ends12 LIKE
In13 IN
Between14 BETWEEN
GridViewPagerState Parameters:
NameParameterData TypeRequiredDescription
SkipRowCountformintNo
PageRowCountformintNo
PaginationResponse<TenderSimple> Parameters:
NameParameterData TypeRequiredDescription
ResultformPaginationResult<TenderSimple>Yes
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes
PaginationResult<TModel> Parameters:
NameParameterData TypeRequiredDescription
TotalRowCountformintNo
ItemsformList<TModel>Yes
TenderSimple Parameters:
NameParameterData TypeRequiredDescription
TenderIdformintNo
TenderIdentifierformstringYes
ProcedureTypeformProcedureTypeNo
SubjectformstringYes
TenderRoundNameformstringYes
SectionNameformstringYes
DeadlineformDateTime?No
TenderTypeformTenderTypeNo
TenderStatusformTenderStatusNo
IsUnderPublishformboolNo
PublishStartDateTimeformDateTime?No
PublishEndDateTimeformDateTime?No
PublishedByIdformint?No
IsProcurementEnabledformboolNo
IsComplianceEnabledformboolNo
ProcedureType Enum:
NameValue
Competition0
Simplified1
TenderType Enum:
NameValue
Private0
Public1
TenderStatus Enum:
NameValue
FirstRound0
SecondRound1
ThirdRound2
Successful3
UnSuccessful4
Revoked5

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /user/{userid}/allpurchaseorders HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"UserId":0,"GridViewState":{"ColumnState":{"FieldName":"String","SortDirection":0},"ColumnFilters":[{"FieldName":"String","FilterValue":"String","Operator":0}],"PagerState":{"SkipRowCount":0,"PageRowCount":0},"IsReturnCount":false}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Result":{"TotalRowCount":0,"Items":[{"Id":0,"PurchaseOrderIdentifier":"String","TenderIdentifier":"String","TenderUserId":0,"TenderId":0,"UserId":0,"SupplierUserId":0,"Buyer":"String","Subject":"String","Status":0,"ConfirmationDeadline":"0001-01-01T00:00:00.0000000","CancellationDateTime":"0001-01-01T00:00:00.0000000","IsCancelled":false}]},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}