TeleportService

<back to all web services

Documents_GetQuantity

Requires Authentication
The following routes are available for this service:
POST, GET/Documents_GetQuantity
Documents_GetQuantity Parameters:
NameParameterData TypeRequiredDescription
owner_typebodyOwnerTypeNo
start_datebodyDateTimeNo
end_datebodyDateTimeNo
filtersbodyList<DocumentsFilter>No
OwnerType Enum:
user
team
DocumentsFilter Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
operationformstringNo
valueformstringNo
rangeformDocumentsFilterRangeNo
inValuesformList<string>No
DocumentsFilterRange Parameters:
NameParameterData TypeRequiredDescription
minformstringNo
maxformstringNo
DocumentsGetQuantityResponse Parameters:
NameParameterData TypeRequiredDescription
quantityformlongNo
errCodeformintNo
ResponseStatusformResponseStatusNo

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

HTTP + CSV

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

POST /Documents_GetQuantity HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"owner_type":"user","start_date":"0001-01-01T00:00:00.0000000","end_date":"0001-01-01T00:00:00.0000000","filters":[{"name":"String","operation":"String","value":"String","range":{"min":"String","max":"String"},"inValues":["String"]}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"quantity":0,"errCode":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}