Required role: | VeoliaAdmin |
PUT | /tenderuser/{tenderuserid}/byveoliaadmin |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class EditTenderUserByVeoliaAdmin : IPut
{
var TenderUserId:Int? = null
var Status:TenderUserStatus? = null
}
enum class TenderUserStatus(val value:Int)
{
@SerializedName("0") FirstRound(0),
@SerializedName("1") SecondRound(1),
@SerializedName("2") ThirdRound(2),
@SerializedName("3") Successful(3),
@SerializedName("4") UnSuccessful(4),
}
open class ModifyEntityResponse : ResponseBase()
{
var Id:Int? = null
}
open class ResponseBase
{
var ResponseStatus:ResponseStatus? = null
}
Kotlin EditTenderUserByVeoliaAdmin DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /tenderuser/{tenderuserid}/byveoliaadmin HTTP/1.1
Host: szallitoiportal-be.veolia.hu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"TenderUserId":0,"Status":0}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"Id":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}