| Requires any of the roles: | Agent, Administrator |
| DELETE,OPTIONS | /v1/project/{ProjectID}/dependencies/{JobDependencyID} |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class JobDependencyDeleteRequest
{
open var ProjectID:Int? = null
open var JobDependencyID:Int? = null
}
open class JobDependencyResponse
{
open var ResponseStatus:ResponseStatus? = null
open var ProjectID:Int? = null
open var Dependencies:ArrayList<JobDependency> = ArrayList<JobDependency>()
}
open class JobDependency
{
open var JobDependencyID:Int? = null
open var TenantId:UUID? = null
open var ProjectID:Int? = null
open var PredecessorJobID:Int? = null
open var SuccessorJobID:Int? = null
open var DependencyType:String? = null
open var LagDays:Int? = null
open var CreatedBy:String? = null
open var CreatedAt:Date? = null
open var UpdatedAt:Date? = null
}
Kotlin JobDependencyDeleteRequest DTOs
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.
DELETE /v1/project/{ProjectID}/dependencies/{JobDependencyID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
ProjectID: 0,
Dependencies:
[
{
JobDependencyID: 0,
TenantId: 00000000000000000000000000000000,
ProjectID: 0,
PredecessorJobID: 0,
SuccessorJobID: 0,
DependencyType: String,
LagDays: 0,
CreatedBy: String,
CreatedAt: 0001-01-01,
UpdatedAt: 0001-01-01
}
]
}