| POST,PUT,DELETE,OPTIONS | /v1/Project/UpdateProjectCost/ |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class ProjectUpdateCostRequest
Public Overridable Property EditType As String
Public Overridable Property ID As Integer
Public Overridable Property Rate As Decimal
Public Overridable Property BilledRate As Decimal
Public Overridable Property MarkupPercentage As Decimal
Public Overridable Property SameMarkupApplyToAll As Boolean
End Class
Public Partial Class ProjectUpdateCostResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Success As Boolean
End Class
End Namespace
End Namespace
VB.NET ProjectUpdateCostRequest 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.
POST /v1/Project/UpdateProjectCost/ HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
EditType: String,
ID: 0,
Rate: 0,
BilledRate: 0,
MarkupPercentage: 0,
SameMarkupApplyToAll: False
}
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
}
},
Success: False
}