POST api/org/updateOrg
Request Information
URI Parameters
None.
Body Parameters
EntSysOrganization| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| OrganizationCode | string |
None. |
|
| OrganizationName | string |
None. |
|
| Address | string |
None. |
|
| PhoneNo | string |
None. |
|
| string |
None. |
||
| Contacts | string |
None. |
|
| UnifiedSocialCreditcode | string |
None. |
|
| CreateBy | string |
None. |
|
| CreateTime | date |
None. |
|
| UpdateBy | string |
None. |
|
| UpdateTime | date |
None. |
|
| Status | integer |
None. |
|
| UserCount | integer |
None. |
|
| RoleId | string |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"organizationCode": "sample string 2",
"organizationName": "sample string 3",
"address": "sample string 4",
"phoneNo": "sample string 5",
"email": "sample string 6",
"contacts": "sample string 7",
"unifiedSocialCreditcode": "sample string 8",
"createBy": "sample string 9",
"createTime": "2025-10-27 11:06:14",
"updateBy": "sample string 11",
"updateTime": "2025-10-27 11:06:14",
"status": 12,
"userCount": 13,
"roleId": "sample string 14",
"pageSize": 15,
"pageIndex": 16,
"totalCount": 17
}
application/xml, text/xml
Sample:
<EntSysOrganization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>16</PageIndex> <PageSize>15</PageSize> <TotalCount>17</TotalCount> <Address>sample string 4</Address> <Contacts>sample string 7</Contacts> <CreateBy>sample string 9</CreateBy> <CreateTime>2025-10-27T11:06:14.5471633+08:00</CreateTime> <Email>sample string 6</Email> <Id>1</Id> <OrganizationCode>sample string 2</OrganizationCode> <OrganizationName>sample string 3</OrganizationName> <PhoneNo>sample string 5</PhoneNo> <RoleId>sample string 14</RoleId> <Status>12</Status> <UnifiedSocialCreditcode>sample string 8</UnifiedSocialCreditcode> <UpdateBy>sample string 11</UpdateBy> <UpdateTime>2025-10-27T11:06:14.5471633+08:00</UpdateTime> <UserCount>13</UserCount> </EntSysOrganization>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Data | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"success": true,
"data": 3,
"message": "sample string 4"
}
application/xml, text/xml
Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <Data>3</Data> <Message>sample string 4</Message> <Status>1</Status> <Success>true</Success> </ReturnResultOfint>