Booklinker.API

<back to all web services

PostLinkIssueReportRequest

The following routes are available for this service:
POST/v1/report-link-issue
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


@DataContract
open class PostLinkIssueReportRequest
{
    @DataMember(Name="aliasDomain")
    @SerializedName("aliasDomain")
    @ApiMember(IsRequired=true, Name="aliasDomain")
    open var aliasDomain:String? = null

    @DataMember(Name="aliasCode")
    @SerializedName("aliasCode")
    @ApiMember(Name="aliasCode")
    open var aliasCode:String? = null

    @DataMember(Name="issues")
    @SerializedName("issues")
    @ApiMember(IsRequired=true, Name="issues")
    open var issues:ArrayList<String> = ArrayList<String>()

    @DataMember(Name="email")
    @SerializedName("email")
    open var email:String? = null

    @DataMember(Name="notes")
    @SerializedName("notes")
    open var notes:String? = null
}

@DataContract
open class PostLinkIssueReportResponse
{
    @DataMember(Name="success")
    @SerializedName("success")
    open var success:Boolean? = null

    @DataMember(Name="responseStatus")
    @SerializedName("responseStatus")
    open var responseStatus:ResponseStatus? = null
}

Kotlin PostLinkIssueReportRequest DTOs

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

HTTP + OTHER

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

POST /v1/report-link-issue HTTP/1.1 
Host: api.booklinker.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"aliasDomain":"String","aliasCode":"String","issues":["String"],"email":"String","notes":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"success":false,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}