SLnet.WebExtApi

<back to all web services

GetResourceByFetchPath

Generic API

The following routes are available for this service:
POST/api/{DomainName}/entities/{EntityName}/fetchRetrieves a multiple resource instances, for the specified fetch path

To override the Content-type in your clients 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 /csv/reply/GetResourceByFetchPath HTTP/1.1 
Host: 5.172.198.40 
Content-Type: text/csv
Content-Length: length

Path,EntityName,DomainName
"{Filters:[{Name:String,Operator:String,Value:{},Type:Default}],SortBy:[{FieldName:String,Direction:String}],FillRelativeFields:False,SelectProperties:[String],MaxRecords:0,Skip:0,Take:0,IncludePaths:[{Filters:[{Name:String,Operator:String,Value:{},Type:Default}],SortBy:[{FieldName:String,Direction:String}],FillRelativeFields:False,SelectProperties:[String],MaxRecords:0,Skip:0,Take:0,IncludePaths:[{Filters:[{Name:String,Operator:String,Value:{},Type:Default}],SortBy:[{FieldName:String,Direction:String}],FillRelativeFields:False,SelectProperties:[String],MaxRecords:0,Skip:0,Take:0,IncludePaths:[{}],Path:String}],Path:String}],Path:String}",String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'DataSet' using the custom 'csv' filter}The type initializer for 'ServiceStack.Text.CsvWriter`1' threw an exception.