POST api/User?clientDate={clientDate}

Authentification de l'utilisateur, récupère les permissions, préférences et configurations

Informations sur la requête

Paramètres dans l'URI

NameDescriptionTypeInformations additionnelles
clientDate

string

Required

Paramètres du corps (body)

credentials
NameDescriptionTypeInformations additionnelles
CompanyName

string

Aucune

UserName

string

Aucune

Password

string

Aucune

Version

Version

Aucune

Formats de la requête

application/json, text/json

Sample:
{
  "CompanyName": "sample string 1",
  "UserName": "sample string 2",
  "Password": "sample string 3",
  "Version": {
    "_Major": 0,
    "_Minor": 0,
    "_Build": -1,
    "_Revision": -1
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Informations sur la réponse

Description

UserConnectionModel
NameDescriptionTypeInformations additionnelles
SessionId

string

Aucune

Version

Version

Aucune

Credentials

credentials

Aucune

AccountingSystem

AccountingSystem

Aucune

Id

integer

Aucune

CodeName

string

Aucune

FirstName

string

Aucune

LastName

string

Aucune

PhoneNumber

string

Aucune

Fax

string

Aucune

Email

string

Aucune

Username

string

Aucune

Address

AddressModel

Aucune

Password

string

Aucune

Display

boolean

Aucune

Configurations

EmployeeConfigurations

Aucune

Formats de la réponse

application/json, text/json

Sample:
{
  "SessionId": "sample string 1",
  "Version": {
    "_Major": 0,
    "_Minor": 0,
    "_Build": -1,
    "_Revision": -1
  },
  "Credentials": {
    "CompanyName": "sample string 1",
    "UserName": "sample string 2",
    "Password": "sample string 3",
    "Version": {
      "_Major": 0,
      "_Minor": 0,
      "_Build": -1,
      "_Revision": -1
    }
  },
  "AccountingSystem": {
    "Id": 0
  },
  "Id": 2,
  "CodeName": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "PhoneNumber": "sample string 6",
  "Fax": "sample string 7",
  "Email": "sample string 8",
  "Username": "sample string 9",
  "Address": {
    "Address": "sample string 1",
    "City": "sample string 2",
    "PostalCode": "sample string 3",
    "Province": "sample string 4",
    "CountryCode": "sample string 5"
  },
  "Password": "sample string 10",
  "Display": true,
  "Configurations": {
    "WarehouseDefaultId": 1,
    "WarehouseDefault": {
      "Id": 1,
      "DisplayName": "sample string 2",
      "Description": "sample string 3",
      "Active": true,
      "SellingAvaillability": true
    },
    "WarehouseLocked": true,
    "WorkorderCategoriesRestricted": true,
    "ProductsInJobsDenied": true,
    "ProductsInJobsHistoryDenied": true,
    "ProductsInEquipmentDenied": true,
    "ProductsInCustomersDenied": true,
    "ProductsInProductsDenied": true
  }
}