POST api/member/CreateOrUpdateMember
Request Information
URI Parameters
None.
Body Parameters
MemberInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Political | integer |
None. |
|
| OrganizationId | globally unique identifier |
None. |
|
| PhoneNumber | string |
Max length: 11 |
|
| IsActiveStr | string |
None. |
|
| IsAuditor | boolean |
None. |
|
| AuthorizedType | AuthorizedStrength |
None. |
|
| IsCommunityCadres | boolean |
None. |
|
| GridPostType | GridPosts |
None. |
|
| GridSpot | string |
None. |
|
| Note | string |
None. |
|
| WangPing | boolean |
None. |
|
| CommunityOrgId | globally unique identifier |
None. |
|
| GridPostOrgId | globally unique identifier |
None. |
|
| IsAdminStr | string |
None. |
|
| IsAffiliate | boolean |
None. |
|
| IsMediator | boolean |
None. |
|
| IsRfPro | boolean |
None. |
|
| EducationType | Education |
None. |
|
| GenderType | Gender |
None. |
|
| BirthdayTime | date |
None. |
|
| OwnCompany | CompanyType |
None. |
|
| OwnCompanyId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "c82f922a-21a4-4698-adeb-77cef9a106dd",
"Name": "sample string 1",
"Description": "sample string 2",
"Political": 3,
"OrganizationId": "990b9546-f88c-4c98-a844-4cb04948bccf",
"PhoneNumber": "sample string 5",
"IsActiveStr": "sample string 6",
"IsAuditor": true,
"AuthorizedType": 0,
"IsCommunityCadres": true,
"GridPostType": 0,
"GridSpot": "sample string 9",
"Note": "sample string 10",
"WangPing": true,
"CommunityOrgId": "1465452d-7260-4ec6-8c0f-551c1ff94284",
"GridPostOrgId": "caf6eba1-f240-4e37-90e3-420ff6684969",
"IsAdminStr": "sample string 12",
"IsAffiliate": true,
"IsMediator": true,
"IsRfPro": true,
"EducationType": 0,
"GenderType": 0,
"BirthdayTime": "2025-12-24T22:04:06.5112302+08:00",
"OwnCompany": 0,
"OwnCompanyId": "22fa8afe-7f95-4d91-8673-e5e545d3feac"
}
application/xml, text/xml
Sample:
<MemberInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Siyan.Lianxinqiao.Core.Members.Dto"> <AuthorizedType>无</AuthorizedType> <BirthdayTime>2025-12-24T22:04:06.5112302+08:00</BirthdayTime> <CommunityOrgId>1465452d-7260-4ec6-8c0f-551c1ff94284</CommunityOrgId> <Description>sample string 2</Description> <EducationType>初中及以下</EducationType> <GenderType>未知</GenderType> <GridPostOrgId>caf6eba1-f240-4e37-90e3-420ff6684969</GridPostOrgId> <GridPostType>无</GridPostType> <GridSpot>sample string 9</GridSpot> <Id>c82f922a-21a4-4698-adeb-77cef9a106dd</Id> <IsActiveStr>sample string 6</IsActiveStr> <IsAdminStr>sample string 12</IsAdminStr> <IsAffiliate>true</IsAffiliate> <IsAuditor>true</IsAuditor> <IsCommunityCadres>true</IsCommunityCadres> <IsMediator>true</IsMediator> <IsRfPro>true</IsRfPro> <Name>sample string 1</Name> <Note>sample string 10</Note> <OrganizationId>990b9546-f88c-4c98-a844-4cb04948bccf</OrganizationId> <OwnCompany>未知</OwnCompany> <OwnCompanyId>22fa8afe-7f95-4d91-8673-e5e545d3feac</OwnCompanyId> <PhoneNumber>sample string 5</PhoneNumber> <Political>3</Political> <WangPing>true</WangPing> </MemberInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.