| POST | /{Workspace}/BindingDependencies/{Class} | ||
|---|---|---|---|
| POST | /{Workspace}/BindingDependencies/{Class}/{Type} |
import java.math.*
import java.util.*
import net.servicestack.client.*
/**
* An object used to compare a template to expressions and integrations and return potential conflicts
*/
open class BindingDependency
{
var Workspace:String? = null
var Class:String? = null
var Type:String? = null
var ProposedTemplate:ArrayList<String> = ArrayList<String>()
var Conflicts:HashMap<String,ArrayList<String>> = HashMap<String,ArrayList<String>>()
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /{Workspace}/BindingDependencies/{Class} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Workspace: String,
Class: String,
Type: String,
ProposedTemplate:
[
String
],
Conflicts:
{
String:
[
String
]
}
}