POST api/Service/LogIn

Request Information

URI Parameters

None.

Body Parameters

LogInRequest
NameDescriptionTypeAdditional information
Input

LogInputModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Input": {
    "UserID": "sample string 1",
    "Password": "sample string 2",
    "NotificationToken": "sample string 3",
    "IsCustomer": true
  }
}

application/xml, text/xml

Sample:
<LogInRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
  <Input>
    <IsCustomer>true</IsCustomer>
    <NotificationToken>sample string 3</NotificationToken>
    <Password>sample string 2</Password>
    <UserID>sample string 1</UserID>
  </Input>
</LogInRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LogInResponse
NameDescriptionTypeAdditional information
OutPut

LogInOutPutModel

None.

Response Formats

application/json, text/json

Sample:
{
  "OutPut": {
    "SORights": {
      "IsSOEnabled": 1,
      "IsSOConfirmAllowed": 2,
      "IsSOVoidAllowed": 3
    },
    "PORights": {
      "IsPOEnabled": 1,
      "IsPOConfirmAllowed": 2,
      "IsPOVoidAllowed": 3,
      "IsPOCloseAllowed": 4
    },
    "Success": true,
    "Message": "sample string 2",
    "ObjectID": 3,
    "UserName": "sample string 4",
    "Token": "sample string 5",
    "IsAppAdmin": 6,
    "IsSalesRep": 7
  }
}

application/xml, text/xml

Sample:
<LogInResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
  <OutPut>
    <IsAppAdmin>6</IsAppAdmin>
    <IsSalesRep>7</IsSalesRep>
    <Message>sample string 2</Message>
    <ObjectID>3</ObjectID>
    <PORights>
      <IsPOCloseAllowed>4</IsPOCloseAllowed>
      <IsPOConfirmAllowed>2</IsPOConfirmAllowed>
      <IsPOEnabled>1</IsPOEnabled>
      <IsPOVoidAllowed>3</IsPOVoidAllowed>
    </PORights>
    <SORights>
      <IsSOConfirmAllowed>2</IsSOConfirmAllowed>
      <IsSOEnabled>1</IsSOEnabled>
      <IsSOVoidAllowed>3</IsSOVoidAllowed>
    </SORights>
    <Success>true</Success>
    <Token>sample string 5</Token>
    <UserName>sample string 4</UserName>
  </OutPut>
</LogInResponse>