POST api/Services/AddUpdateMembers
Request Information
URI Parameters
None.
Body Parameters
MembersEntityName | Description | Type | Additional information |
---|---|---|---|
IsPasswordChange | boolean |
None. |
|
Password | string |
None. |
|
Members | Tbl_Members |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsPasswordChange": true, "Password": "sample string 2", "Members": { "MemberId": 1, "StoreId": 1, "RouteId": 1, "MemberType": 1, "MembershipNo": "sample string 2", "Name": "sample string 3", "Mobile": "sample string 4", "Email": "sample string 5", "Address": "sample string 6", "IsActive": true, "DefaultPriceId": 1, "DefaultCNF": 1.1, "DefaultFAT": 1.1, "DefaultCLR": 1.1, "DefaultPrice": 1.1, "CreatedBy": 1, "CreatedDate": "2024-12-23T03:45:00.1006825+05:30", "UpdatedBy": 1, "UpdatedDate": "2024-12-23T03:45:00.1006825+05:30" } }
text/html, multipart/form-data
Sample:
{"IsPasswordChange":true,"Password":"sample string 2","Members":{"MemberId":1,"StoreId":1,"RouteId":1,"MemberType":1,"MembershipNo":"sample string 2","Name":"sample string 3","Mobile":"sample string 4","Email":"sample string 5","Address":"sample string 6","IsActive":true,"DefaultPriceId":1,"DefaultCNF":1.1,"DefaultFAT":1.1,"DefaultCLR":1.1,"DefaultPrice":1.1,"CreatedBy":1,"CreatedDate":"2024-12-23T03:45:00.1006825+05:30","UpdatedBy":1,"UpdatedDate":"2024-12-23T03:45:00.1006825+05:30"}}
application/xml, text/xml
Sample:
<MembersEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity"> <IsPasswordChange>true</IsPasswordChange> <Members xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataBase"> <d2p1:Address>sample string 6</d2p1:Address> <d2p1:CreatedBy>1</d2p1:CreatedBy> <d2p1:CreatedDate>2024-12-23T03:45:00.1006825+05:30</d2p1:CreatedDate> <d2p1:DefaultCLR>1.1</d2p1:DefaultCLR> <d2p1:DefaultCNF>1.1</d2p1:DefaultCNF> <d2p1:DefaultFAT>1.1</d2p1:DefaultFAT> <d2p1:DefaultPrice>1.1</d2p1:DefaultPrice> <d2p1:DefaultPriceId>1</d2p1:DefaultPriceId> <d2p1:Email>sample string 5</d2p1:Email> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:MemberId>1</d2p1:MemberId> <d2p1:MemberType>1</d2p1:MemberType> <d2p1:MembershipNo>sample string 2</d2p1:MembershipNo> <d2p1:Mobile>sample string 4</d2p1:Mobile> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:RouteId>1</d2p1:RouteId> <d2p1:StoreId>1</d2p1:StoreId> <d2p1:UpdatedBy>1</d2p1:UpdatedBy> <d2p1:UpdatedDate>2024-12-23T03:45:00.1006825+05:30</d2p1:UpdatedDate> </Members> <Password>sample string 2</Password> </MembersEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponceName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Data": {} }
text/html, multipart/form-data
Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}
application/xml, text/xml
Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers"> <Data /> <Message>sample string 2</Message> <Status>sample string 1</Status> </APIResponce>