POST api/Paywihz/UpdateOrgnization

Request Information

URI Parameters

None.

Body Parameters

CompanyMaster
NameDescriptionTypeAdditional information
CompanyId

integer

None.

SW_CustomerId

integer

None.

CompanyName

string

None.

CompanyCode

string

None.

UserId

string

None.

Password

string

None.

LogoPath

string

None.

WeekStart

string

None.

AttendancePeriod

string

None.

ApplicableOt

string

None.

Active

boolean

None.

LICENSE_KEY

string

None.

SERIAL_KEY

string

None.

Registration_Date

date

None.

Valid_Date

date

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "SW_CustomerId": 2,
  "CompanyName": "sample string 3",
  "CompanyCode": "sample string 4",
  "UserId": "sample string 5",
  "Password": "sample string 6",
  "LogoPath": "sample string 7",
  "WeekStart": "sample string 8",
  "AttendancePeriod": "sample string 9",
  "ApplicableOt": "sample string 10",
  "Active": true,
  "LICENSE_KEY": "sample string 12",
  "SERIAL_KEY": "sample string 13",
  "Registration_Date": "2025-12-24T18:25:42.2960734+05:30",
  "Valid_Date": "2025-12-24T18:25:42.2960734+05:30",
  "Id": 14
}

application/xml, text/xml

Sample:
<CompanyMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreLibrary">
  <Id>14</Id>
  <Active>true</Active>
  <ApplicableOt>sample string 10</ApplicableOt>
  <AttendancePeriod>sample string 9</AttendancePeriod>
  <CompanyCode>sample string 4</CompanyCode>
  <CompanyId>1</CompanyId>
  <CompanyName>sample string 3</CompanyName>
  <LICENSE_KEY>sample string 12</LICENSE_KEY>
  <LogoPath>sample string 7</LogoPath>
  <Password>sample string 6</Password>
  <Registration_Date>2025-12-24T18:25:42.2960734+05:30</Registration_Date>
  <SERIAL_KEY>sample string 13</SERIAL_KEY>
  <SW_CustomerId>2</SW_CustomerId>
  <UserId>sample string 5</UserId>
  <Valid_Date>2025-12-24T18:25:42.2960734+05:30</Valid_Date>
  <WeekStart>sample string 8</WeekStart>
</CompanyMaster>

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

Response Information

Resource Description

ResponseData
NameDescriptionTypeAdditional information
data

string

None.

status_cd

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": "sample string 1",
  "status_cd": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI">
  <data>sample string 1</data>
  <status_cd>sample string 2</status_cd>
</ResponseData>