POST api/Values/UserUpsert

Request Information

URI Parameters

None.

Body Parameters

dbmlUserView
NameDescriptionTypeAdditional information
UserKey

integer

None.

UserName

string

None.

UserTypePropId

integer

None.

LoginId

string

None.

Password

string

None.

Active

boolean

None.

RefId

integer

None.

CreateId

integer

None.

CreateDate

date

None.

UpdateId

integer

None.

UpdateDate

date

None.

ZZUserType

string

None.

ZZMobileNo

string

None.

ZZCompanyId

integer

None.

ZZCompanyname

string

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserKey": 1,
  "UserName": "sample string 2",
  "UserTypePropId": 1,
  "LoginId": "sample string 3",
  "Password": "sample string 4",
  "Active": true,
  "RefId": 1,
  "CreateId": 1,
  "CreateDate": "2025-05-10T21:04:23.7978827+05:30",
  "UpdateId": 1,
  "UpdateDate": "2025-05-10T21:04:23.7978827+05:30",
  "ZZUserType": "sample string 5",
  "ZZMobileNo": "sample string 6",
  "ZZCompanyId": 7,
  "ZZCompanyname": "sample string 8",
  "CompanyId": 9
}

text/html

Sample:
{"UserKey":1,"UserName":"sample string 2","UserTypePropId":1,"LoginId":"sample string 3","Password":"sample string 4","Active":true,"RefId":1,"CreateId":1,"CreateDate":"2025-05-10T21:04:23.7978827+05:30","UpdateId":1,"UpdateDate":"2025-05-10T21:04:23.7978827+05:30","ZZUserType":"sample string 5","ZZMobileNo":"sample string 6","ZZCompanyId":7,"ZZCompanyname":"sample string 8","CompanyId":9}

application/xml, text/xml

Sample:
<dbmlUserView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema">
  <Active>true</Active>
  <CompanyId>9</CompanyId>
  <CreateDate>2025-05-10T21:04:23.7978827+05:30</CreateDate>
  <CreateId>1</CreateId>
  <LoginId>sample string 3</LoginId>
  <Password>sample string 4</Password>
  <RefId>1</RefId>
  <UpdateDate>2025-05-10T21:04:23.7978827+05:30</UpdateDate>
  <UpdateId>1</UpdateId>
  <UserKey>1</UserKey>
  <UserName>sample string 2</UserName>
  <UserTypePropId>1</UserTypePropId>
  <ZZCompanyId>7</ZZCompanyId>
  <ZZCompanyname>sample string 8</ZZCompanyname>
  <ZZMobileNo>sample string 6</ZZMobileNo>
  <ZZUserType>sample string 5</ZZUserType>
</dbmlUserView>

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 'dbmlUserView'.

Response Information

Resource Description

returndbmlUserView
NameDescriptionTypeAdditional information
objdbmlUserViewList

Collection of dbmlUserView

None.

objdbmlStatus

dbmlStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "objdbmlUserViewList": [
    {
      "UserKey": 1,
      "UserName": "sample string 2",
      "UserTypePropId": 1,
      "LoginId": "sample string 3",
      "Password": "sample string 4",
      "Active": true,
      "RefId": 1,
      "CreateId": 1,
      "CreateDate": "2025-05-10T21:04:23.7978827+05:30",
      "UpdateId": 1,
      "UpdateDate": "2025-05-10T21:04:23.7978827+05:30",
      "ZZUserType": "sample string 5",
      "ZZMobileNo": "sample string 6",
      "ZZCompanyId": 7,
      "ZZCompanyname": "sample string 8",
      "CompanyId": 9
    },
    {
      "UserKey": 1,
      "UserName": "sample string 2",
      "UserTypePropId": 1,
      "LoginId": "sample string 3",
      "Password": "sample string 4",
      "Active": true,
      "RefId": 1,
      "CreateId": 1,
      "CreateDate": "2025-05-10T21:04:23.7978827+05:30",
      "UpdateId": 1,
      "UpdateDate": "2025-05-10T21:04:23.7978827+05:30",
      "ZZUserType": "sample string 5",
      "ZZMobileNo": "sample string 6",
      "ZZCompanyId": 7,
      "ZZCompanyname": "sample string 8",
      "CompanyId": 9
    }
  ],
  "objdbmlStatus": {
    "StatusId": 1,
    "Status": "sample string 2",
    "PKId": 3,
    "Remark": "sample string 4"
  }
}

text/html

Sample:
{"objdbmlUserViewList":[{"UserKey":1,"UserName":"sample string 2","UserTypePropId":1,"LoginId":"sample string 3","Password":"sample string 4","Active":true,"RefId":1,"CreateId":1,"CreateDate":"2025-05-10T21:04:23.7978827+05:30","UpdateId":1,"UpdateDate":"2025-05-10T21:04:23.7978827+05:30","ZZUserType":"sample string 5","ZZMobileNo":"sample string 6","ZZCompanyId":7,"ZZCompanyname":"sample string 8","CompanyId":9},{"UserKey":1,"UserName":"sample string 2","UserTypePropId":1,"LoginId":"sample string 3","Password":"sample string 4","Active":true,"RefId":1,"CreateId":1,"CreateDate":"2025-05-10T21:04:23.7978827+05:30","UpdateId":1,"UpdateDate":"2025-05-10T21:04:23.7978827+05:30","ZZUserType":"sample string 5","ZZMobileNo":"sample string 6","ZZCompanyId":7,"ZZCompanyname":"sample string 8","CompanyId":9}],"objdbmlStatus":{"StatusId":1,"Status":"sample string 2","PKId":3,"Remark":"sample string 4"}}

application/xml, text/xml

Sample:
<returndbmlUserView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimkenOrderService.Models">
  <objdbmlStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema">
    <d2p1:PKId>3</d2p1:PKId>
    <d2p1:Remark>sample string 4</d2p1:Remark>
    <d2p1:Status>sample string 2</d2p1:Status>
    <d2p1:StatusId>1</d2p1:StatusId>
  </objdbmlStatus>
  <objdbmlUserViewList xmlns:d2p1="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema">
    <d2p1:dbmlUserView>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:CompanyId>9</d2p1:CompanyId>
      <d2p1:CreateDate>2025-05-10T21:04:23.7978827+05:30</d2p1:CreateDate>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:LoginId>sample string 3</d2p1:LoginId>
      <d2p1:Password>sample string 4</d2p1:Password>
      <d2p1:RefId>1</d2p1:RefId>
      <d2p1:UpdateDate>2025-05-10T21:04:23.7978827+05:30</d2p1:UpdateDate>
      <d2p1:UpdateId>1</d2p1:UpdateId>
      <d2p1:UserKey>1</d2p1:UserKey>
      <d2p1:UserName>sample string 2</d2p1:UserName>
      <d2p1:UserTypePropId>1</d2p1:UserTypePropId>
      <d2p1:ZZCompanyId>7</d2p1:ZZCompanyId>
      <d2p1:ZZCompanyname>sample string 8</d2p1:ZZCompanyname>
      <d2p1:ZZMobileNo>sample string 6</d2p1:ZZMobileNo>
      <d2p1:ZZUserType>sample string 5</d2p1:ZZUserType>
    </d2p1:dbmlUserView>
    <d2p1:dbmlUserView>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:CompanyId>9</d2p1:CompanyId>
      <d2p1:CreateDate>2025-05-10T21:04:23.7978827+05:30</d2p1:CreateDate>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:LoginId>sample string 3</d2p1:LoginId>
      <d2p1:Password>sample string 4</d2p1:Password>
      <d2p1:RefId>1</d2p1:RefId>
      <d2p1:UpdateDate>2025-05-10T21:04:23.7978827+05:30</d2p1:UpdateDate>
      <d2p1:UpdateId>1</d2p1:UpdateId>
      <d2p1:UserKey>1</d2p1:UserKey>
      <d2p1:UserName>sample string 2</d2p1:UserName>
      <d2p1:UserTypePropId>1</d2p1:UserTypePropId>
      <d2p1:ZZCompanyId>7</d2p1:ZZCompanyId>
      <d2p1:ZZCompanyname>sample string 8</d2p1:ZZCompanyname>
      <d2p1:ZZMobileNo>sample string 6</d2p1:ZZMobileNo>
      <d2p1:ZZUserType>sample string 5</d2p1:ZZUserType>
    </d2p1:dbmlUserView>
  </objdbmlUserViewList>
</returndbmlUserView>