POST api/VatUsers/UpdateUser

регистрация пользователя

Request Information

URI Parameters

None.

Body Parameters

VatUserUpdateRequestInfo
НаименованиеОписаниеТипДополнительная информация
DisplayName

string

None.

Flags

настройки пользователя

VatUserFlags

None.

IsBlocked

boolean

None.

Login

string

Required

OrganizationAddress

string

Required

OrganizationName

string

Required

PhoneNumber

string

Required

Unp

string

Required

Request Formats

application/json, text/json

Sample:
{
  "DisplayName": "sample string 1",
  "Flags": 1,
  "IsBlocked": true,
  "Login": "sample string 3",
  "OrganizationAddress": "sample string 4",
  "OrganizationName": "sample string 5",
  "PhoneNumber": "sample string 6",
  "Unp": "sample string 7"
}

application/xml, text/xml

Sample:
<VatUserUpdateRequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.VatUsers">
  <DisplayName>sample string 1</DisplayName>
  <Flags>AllowMailing</Flags>
  <IsBlocked>true</IsBlocked>
  <Login>sample string 3</Login>
  <OrganizationAddress>sample string 4</OrganizationAddress>
  <OrganizationName>sample string 5</OrganizationName>
  <PhoneNumber>sample string 6</PhoneNumber>
  <Unp>sample string 7</Unp>
</VatUserUpdateRequestInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Информация о ответе

Resource Description

ResultInfoOfVatUserInfo
НаименованиеОписаниеТипДополнительная информация
Value

VatUserInfo

None.

Message

string

None.

Success

boolean

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": {
    "Id": 1,
    "DisplayName": "sample string 2",
    "Login": "sample string 3",
    "Password": "sample string 4",
    "Unp": "sample string 5",
    "PhoneNumber": "sample string 6",
    "OrganizationName": "sample string 7",
    "OrganizationAddress": "sample string 8",
    "Token": "sample string 9",
    "TokenDate": "2025-04-03T01:47:47.2509549+03:00",
    "IsBlocked": true,
    "EmailKey": "sample string 11",
    "Flags": 1,
    "RegisterDate": "2025-04-03T01:47:47.2509549+03:00",
    "UserCheckUnpStatisticsInfo": {
      "ChecksUnpCount": 1,
      "ErrorEschfCount": 2,
      "InprogressEschfCount": 3,
      "CompletedEschfCount": 4
    }
  },
  "Message": "sample string 1",
  "Success": true,
  "Code": 3
}

application/xml, text/xml

Sample:
<ResultInfoOfVatUserInfoSZmFZWbt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BerlioSoft.Core.Common.Results">
  <Code>3</Code>
  <Message>sample string 1</Message>
  <Success>true</Success>
  <Value xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.VatUsers">
    <d2p1:DisplayName>sample string 2</d2p1:DisplayName>
    <d2p1:EmailKey>sample string 11</d2p1:EmailKey>
    <d2p1:Flags>AllowMailing</d2p1:Flags>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsBlocked>true</d2p1:IsBlocked>
    <d2p1:Login>sample string 3</d2p1:Login>
    <d2p1:OrganizationAddress>sample string 8</d2p1:OrganizationAddress>
    <d2p1:OrganizationName>sample string 7</d2p1:OrganizationName>
    <d2p1:Password>sample string 4</d2p1:Password>
    <d2p1:PhoneNumber>sample string 6</d2p1:PhoneNumber>
    <d2p1:RegisterDate>2025-04-03T01:47:47.2509549+03:00</d2p1:RegisterDate>
    <d2p1:Token>sample string 9</d2p1:Token>
    <d2p1:TokenDate>2025-04-03T01:47:47.2509549+03:00</d2p1:TokenDate>
    <d2p1:Unp>sample string 5</d2p1:Unp>
    <d2p1:UserCheckUnpStatisticsInfo xmlns:d3p1="http://schemas.datacontract.org/2004/07/ApiBerlioInfo.Dto.DataTypes.Eschf">
      <d3p1:ChecksUnpCount>1</d3p1:ChecksUnpCount>
      <d3p1:CompletedEschfCount>4</d3p1:CompletedEschfCount>
      <d3p1:ErrorEschfCount>2</d3p1:ErrorEschfCount>
      <d3p1:InprogressEschfCount>3</d3p1:InprogressEschfCount>
    </d2p1:UserCheckUnpStatisticsInfo>
  </Value>
</ResultInfoOfVatUserInfoSZmFZWbt>