POST api/Companys/{id}?user={user}&comp={comp}&userName={userName}&pwd={pwd}&server={server}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

user

string

Required

comp

string

Required

userName

string

Required

pwd

string

Required

server

string

Required

Body Parameters

None.

Response Information

Resource Description

Companys
NameDescriptionTypeAdditional information
Id

integer

None.

Company

string

None.

FtpUserName

string

None.

FtpUserPwd

string

None.

FTPServer

string

None.

UserName

string

None.

MaxFolderFiles

integer

None.

UserId

string

Required

User

ApplicationUser

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Company": "sample string 2",
  "FtpUserName": "sample string 3",
  "FtpUserPwd": "sample string 4",
  "FTPServer": "sample string 5",
  "UserName": "sample string 6",
  "MaxFolderFiles": 7,
  "UserId": "sample string 8",
  "User": {
    "Company": null,
    "Lines": null,
    "FileTypes": null,
    "VersionNumber": null,
    "LogAttempts": null,
    "PwdLogCheck": null,
    "Email": "sample string 1",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 3",
    "SecurityStamp": "sample string 4",
    "PhoneNumber": "sample string 5",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2026-04-04T03:41:29.7872933+02:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 9,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 10",
    "UserName": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<Companys xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NTInfotainmentWebApi.Models">
  <Company>sample string 2</Company>
  <FTPServer>sample string 5</FTPServer>
  <FtpUserName>sample string 3</FtpUserName>
  <FtpUserPwd>sample string 4</FtpUserPwd>
  <Id>1</Id>
  <MaxFolderFiles>7</MaxFolderFiles>
  <User>
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">9</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 1</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 10</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2026-04-04T03:41:29.7872933+02:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 3</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 5</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 4</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 11</UserName>
    <Company i:nil="true" />
    <FileTypes i:nil="true" />
    <Lines i:nil="true" />
    <LogAttempts i:nil="true" />
    <PwdLogCheck i:nil="true" />
    <VersionNumber i:nil="true" />
  </User>
  <UserId>sample string 8</UserId>
  <UserName>sample string 6</UserName>
</Companys>