| All Verbs | /LoginPtt2 |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using DaBRemServices.ServiceModel;
namespace DaBRemServices.ServiceModel
{
public partial class LoginPtt2
{
public virtual string AuthorizationID { get; set; }
public virtual long RemAddressId { get; set; }
public virtual string UserSSN { get; set; }
public virtual string OfficerCode { get; set; }
public virtual string Password { get; set; }
}
public partial class LoginPttResponse
{
public virtual bool Result { get; set; }
public virtual bool ServiceSuccessResult { get; set; }
public virtual string ErrorMesage { get; set; }
}
}
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 /LoginPtt2 HTTP/1.1
Host: remservices.eyyubiye.bel.tr
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AuthorizationID: String,
RemAddressId: 0,
UserSSN: String,
OfficerCode: String,
Password: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result: False,
ServiceSuccessResult: False,
ErrorMesage: String
}