Portal

<back to all web services

EditTenderStatus

Requires Authentication
Required role:VeoliaAdmin
The following routes are available for this service:
PUT/tender/{tenderid}/status
import java.math.*
import java.util.*
import net.servicestack.client.*


open class EditTenderStatus : IPut
{
    var TenderId:Int? = null
    var Status:TenderStatus? = null
}

enum class TenderStatus(val value:Int)
{
    @SerializedName("0") FirstRound(0),
    @SerializedName("1") SecondRound(1),
    @SerializedName("2") ThirdRound(2),
    @SerializedName("3") Successful(3),
    @SerializedName("4") UnSuccessful(4),
    @SerializedName("5") Revoked(5),
}

open class ModifyEntityResponse : ResponseBase()
{
    var Id:Int? = null
}

open class ResponseBase
{
    var ResponseStatus:ResponseStatus? = null
}

Kotlin EditTenderStatus DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /tender/{tenderid}/status HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"TenderId":0,"Status":0}
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}