| POST | /api/v1/users/customerAdmin |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class PostCreateCustomerAdmin : IHasBearerToken
{
@ApiMember(IsRequired=true, ParameterType="body")
var bearerToken:String? = null
@ApiMember(IsRequired=true, ParameterType="body")
var email:String? = null
@ApiMember(IsRequired=true, ParameterType="body")
var customerGuid:String? = null
}
open class PostCreateCustomerAdminResponse
{
var userId:String? = null
var responseStatus:ResponseStatus? = null
}
Kotlin PostCreateCustomerAdmin DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/v1/users/customerAdmin HTTP/1.1
Host: emg-servdesk.eras-online.de
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"bearerToken":"String","email":"String","customerGuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"userId":"String","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}