POST api/login

Request Information

URI Parameters

None.

Body Parameters

Login
NameDescriptionTypeAdditional information
LoginId

integer

None.

LoginType

LoginType

None.

LoginUsername

string

None.

LoginEmail

string

None.

LoginPassword

string

None.

LoginActive

integer

None.

LoginActiveDate

date

None.

LoginAccounts

Collection of Account

None.

LoginClients

Collection of Client

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LoginId": 1,
  "LoginType": {
    "LoginTypeId": 1,
    "LoginTypeName": "sample string 2",
    "LoginTypeCodeName": "sample string 3",
    "LoginTypeDescription": "sample string 4",
    "LoginTypeActive": 5,
    "LoginTypeActiveDate": "2020-04-01T23:09:14.8490192-05:00"
  },
  "LoginUsername": "sample string 2",
  "LoginEmail": "sample string 3",
  "LoginPassword": "sample string 4",
  "LoginActive": 5,
  "LoginActiveDate": "2020-04-01T23:09:14.8490192-05:00",
  "LoginAccounts": [
    {
      "AccountId": 1,
      "AccountName": "sample string 2",
      "AccountActive": 3,
      "AccountActiveDate": "2020-04-01T23:09:14.8500193-05:00"
    },
    {
      "AccountId": 1,
      "AccountName": "sample string 2",
      "AccountActive": 3,
      "AccountActiveDate": "2020-04-01T23:09:14.8500193-05:00"
    }
  ],
  "LoginClients": [
    {
      "ClientId": 1,
      "Account": {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T23:09:14.8500193-05:00"
      },
      "ClientName": "sample string 2",
      "ClientActive": 3,
      "ClientActiveDate": "2020-04-01T23:09:14.8500193-05:00"
    },
    {
      "ClientId": 1,
      "Account": {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T23:09:14.8500193-05:00"
      },
      "ClientName": "sample string 2",
      "ClientActive": 3,
      "ClientActiveDate": "2020-04-01T23:09:14.8500193-05:00"
    }
  ],
  "Token": "sample string 7"
}

text/html

Sample:
{"LoginId":1,"LoginType":{"LoginTypeId":1,"LoginTypeName":"sample string 2","LoginTypeCodeName":"sample string 3","LoginTypeDescription":"sample string 4","LoginTypeActive":5,"LoginTypeActiveDate":"2020-04-01T23:09:14.8490192-05:00"},"LoginUsername":"sample string 2","LoginEmail":"sample string 3","LoginPassword":"sample string 4","LoginActive":5,"LoginActiveDate":"2020-04-01T23:09:14.8490192-05:00","LoginAccounts":[{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8500193-05:00"},{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8500193-05:00"}],"LoginClients":[{"ClientId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8500193-05:00"},"ClientName":"sample string 2","ClientActive":3,"ClientActiveDate":"2020-04-01T23:09:14.8500193-05:00"},{"ClientId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8500193-05:00"},"ClientName":"sample string 2","ClientActive":3,"ClientActiveDate":"2020-04-01T23:09:14.8500193-05:00"}],"Token":"sample string 7"}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
  <LoginAccounts>
    <Account>
      <AccountActive>3</AccountActive>
      <AccountActiveDate>2020-04-01T23:09:14.8500193-05:00</AccountActiveDate>
      <AccountId>1</AccountId>
      <AccountName>sample string 2</AccountName>
    </Account>
    <Account>
      <AccountActive>3</AccountActive>
      <AccountActiveDate>2020-04-01T23:09:14.8500193-05:00</AccountActiveDate>
      <AccountId>1</AccountId>
      <AccountName>sample string 2</AccountName>
    </Account>
  </LoginAccounts>
  <LoginActive>5</LoginActive>
  <LoginActiveDate>2020-04-01T23:09:14.8490192-05:00</LoginActiveDate>
  <LoginClients xmlns:d2p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Out">
    <d2p1:Client>
      <d2p1:Account>
        <AccountActive>3</AccountActive>
        <AccountActiveDate>2020-04-01T23:09:14.8500193-05:00</AccountActiveDate>
        <AccountId>1</AccountId>
        <AccountName>sample string 2</AccountName>
      </d2p1:Account>
      <d2p1:ClientActive>3</d2p1:ClientActive>
      <d2p1:ClientActiveDate>2020-04-01T23:09:14.8500193-05:00</d2p1:ClientActiveDate>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 2</d2p1:ClientName>
    </d2p1:Client>
    <d2p1:Client>
      <d2p1:Account>
        <AccountActive>3</AccountActive>
        <AccountActiveDate>2020-04-01T23:09:14.8500193-05:00</AccountActiveDate>
        <AccountId>1</AccountId>
        <AccountName>sample string 2</AccountName>
      </d2p1:Account>
      <d2p1:ClientActive>3</d2p1:ClientActive>
      <d2p1:ClientActiveDate>2020-04-01T23:09:14.8500193-05:00</d2p1:ClientActiveDate>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 2</d2p1:ClientName>
    </d2p1:Client>
  </LoginClients>
  <LoginEmail>sample string 3</LoginEmail>
  <LoginId>1</LoginId>
  <LoginPassword>sample string 4</LoginPassword>
  <LoginType>
    <LoginTypeActive>5</LoginTypeActive>
    <LoginTypeActiveDate>2020-04-01T23:09:14.8490192-05:00</LoginTypeActiveDate>
    <LoginTypeCodeName>sample string 3</LoginTypeCodeName>
    <LoginTypeDescription>sample string 4</LoginTypeDescription>
    <LoginTypeId>1</LoginTypeId>
    <LoginTypeName>sample string 2</LoginTypeName>
  </LoginType>
  <LoginUsername>sample string 2</LoginUsername>
  <Token>sample string 7</Token>
</Login>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Login'.

Response Information

Resource Description

Login
NameDescriptionTypeAdditional information
LoginId

integer

None.

LoginType

LoginType

None.

LoginUsername

string

None.

LoginEmail

string

None.

LoginPassword

string

None.

LoginActive

integer

None.

LoginActiveDate

date

None.

LoginAccounts

Collection of Account

None.

LoginClients

Collection of Client

None.

Token

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LoginId": 1,
  "LoginType": {
    "LoginTypeId": 1,
    "LoginTypeName": "sample string 2",
    "LoginTypeCodeName": "sample string 3",
    "LoginTypeDescription": "sample string 4",
    "LoginTypeActive": 5,
    "LoginTypeActiveDate": "2020-04-01T23:09:14.8520195-05:00"
  },
  "LoginUsername": "sample string 2",
  "LoginEmail": "sample string 3",
  "LoginPassword": "sample string 4",
  "LoginActive": 5,
  "LoginActiveDate": "2020-04-01T23:09:14.8520195-05:00",
  "LoginAccounts": [
    {
      "AccountId": 1,
      "AccountName": "sample string 2",
      "AccountActive": 3,
      "AccountActiveDate": "2020-04-01T23:09:14.8520195-05:00"
    },
    {
      "AccountId": 1,
      "AccountName": "sample string 2",
      "AccountActive": 3,
      "AccountActiveDate": "2020-04-01T23:09:14.8520195-05:00"
    }
  ],
  "LoginClients": [
    {
      "ClientId": 1,
      "Account": {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T23:09:14.8520195-05:00"
      },
      "ClientName": "sample string 2",
      "ClientActive": 3,
      "ClientActiveDate": "2020-04-01T23:09:14.8520195-05:00"
    },
    {
      "ClientId": 1,
      "Account": {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T23:09:14.8520195-05:00"
      },
      "ClientName": "sample string 2",
      "ClientActive": 3,
      "ClientActiveDate": "2020-04-01T23:09:14.8520195-05:00"
    }
  ],
  "Token": "sample string 7"
}

text/html

Sample:
{"LoginId":1,"LoginType":{"LoginTypeId":1,"LoginTypeName":"sample string 2","LoginTypeCodeName":"sample string 3","LoginTypeDescription":"sample string 4","LoginTypeActive":5,"LoginTypeActiveDate":"2020-04-01T23:09:14.8520195-05:00"},"LoginUsername":"sample string 2","LoginEmail":"sample string 3","LoginPassword":"sample string 4","LoginActive":5,"LoginActiveDate":"2020-04-01T23:09:14.8520195-05:00","LoginAccounts":[{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8520195-05:00"},{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8520195-05:00"}],"LoginClients":[{"ClientId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8520195-05:00"},"ClientName":"sample string 2","ClientActive":3,"ClientActiveDate":"2020-04-01T23:09:14.8520195-05:00"},{"ClientId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T23:09:14.8520195-05:00"},"ClientName":"sample string 2","ClientActive":3,"ClientActiveDate":"2020-04-01T23:09:14.8520195-05:00"}],"Token":"sample string 7"}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
  <LoginAccounts>
    <Account>
      <AccountActive>3</AccountActive>
      <AccountActiveDate>2020-04-01T23:09:14.8520195-05:00</AccountActiveDate>
      <AccountId>1</AccountId>
      <AccountName>sample string 2</AccountName>
    </Account>
    <Account>
      <AccountActive>3</AccountActive>
      <AccountActiveDate>2020-04-01T23:09:14.8520195-05:00</AccountActiveDate>
      <AccountId>1</AccountId>
      <AccountName>sample string 2</AccountName>
    </Account>
  </LoginAccounts>
  <LoginActive>5</LoginActive>
  <LoginActiveDate>2020-04-01T23:09:14.8520195-05:00</LoginActiveDate>
  <LoginClients xmlns:d2p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Out">
    <d2p1:Client>
      <d2p1:Account>
        <AccountActive>3</AccountActive>
        <AccountActiveDate>2020-04-01T23:09:14.8520195-05:00</AccountActiveDate>
        <AccountId>1</AccountId>
        <AccountName>sample string 2</AccountName>
      </d2p1:Account>
      <d2p1:ClientActive>3</d2p1:ClientActive>
      <d2p1:ClientActiveDate>2020-04-01T23:09:14.8520195-05:00</d2p1:ClientActiveDate>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 2</d2p1:ClientName>
    </d2p1:Client>
    <d2p1:Client>
      <d2p1:Account>
        <AccountActive>3</AccountActive>
        <AccountActiveDate>2020-04-01T23:09:14.8520195-05:00</AccountActiveDate>
        <AccountId>1</AccountId>
        <AccountName>sample string 2</AccountName>
      </d2p1:Account>
      <d2p1:ClientActive>3</d2p1:ClientActive>
      <d2p1:ClientActiveDate>2020-04-01T23:09:14.8520195-05:00</d2p1:ClientActiveDate>
      <d2p1:ClientId>1</d2p1:ClientId>
      <d2p1:ClientName>sample string 2</d2p1:ClientName>
    </d2p1:Client>
  </LoginClients>
  <LoginEmail>sample string 3</LoginEmail>
  <LoginId>1</LoginId>
  <LoginPassword>sample string 4</LoginPassword>
  <LoginType>
    <LoginTypeActive>5</LoginTypeActive>
    <LoginTypeActiveDate>2020-04-01T23:09:14.8520195-05:00</LoginTypeActiveDate>
    <LoginTypeCodeName>sample string 3</LoginTypeCodeName>
    <LoginTypeDescription>sample string 4</LoginTypeDescription>
    <LoginTypeId>1</LoginTypeId>
    <LoginTypeName>sample string 2</LoginTypeName>
  </LoginType>
  <LoginUsername>sample string 2</LoginUsername>
  <Token>sample string 7</Token>
</Login>