POST api/UpdateMemberInfo

Request Information

URI Parameters

None.

Body Parameters

UpdateMemberRequest
NameDescriptionTypeAdditional information
SessionKey

string

Required

Prefix

string
FirstName

string

Required

MiddleName

string
LastName

string

Required

Suffix

string
Address1

string
Address2

string
City

string
StateId

string
CountryId

integer
PostalCode

string
Email

string

Required

Phone

string
SendEmail

boolean

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1",
  "Prefix": "sample string 2",
  "FirstName": "sample string 3",
  "MiddleName": "sample string 4",
  "LastName": "sample string 5",
  "Suffix": "sample string 6",
  "Address1": "sample string 7",
  "Address2": "sample string 8",
  "City": "sample string 9",
  "StateId": "sample string 10",
  "CountryId": 11,
  "PostalCode": "sample string 12",
  "Email": "sample string 13",
  "Phone": "sample string 14",
  "SendEmail": true
}

application/xml, text/xml

Sample:
<UpdateMemberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account">
  <Address1>sample string 7</Address1>
  <Address2>sample string 8</Address2>
  <City>sample string 9</City>
  <CountryId>11</CountryId>
  <Email>sample string 13</Email>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 5</LastName>
  <MiddleName>sample string 4</MiddleName>
  <Phone>sample string 14</Phone>
  <PostalCode>sample string 12</PostalCode>
  <Prefix>sample string 2</Prefix>
  <SendEmail>true</SendEmail>
  <SessionKey>sample string 1</SessionKey>
  <StateId>sample string 10</StateId>
  <Suffix>sample string 6</Suffix>
</UpdateMemberRequest>

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

Response Information

Resource Description

ApiSuccessOfUpdateMemberResult
NameDescriptionTypeAdditional information
Success

boolean
Data

UpdateMemberResult

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "NameUpdated": true,
    "EmailUpdated": true,
    "PhoneUpdated": true,
    "Errors": [
      "sample string 1",
      "sample string 2"
    ],
    "AddressUpdated": true,
    "EmailSent": true
  }
}

application/xml, text/xml

Sample:
<ApiSuccessOfUpdateMemberResultgLC8bFpX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account">
    <d2p1:AddressUpdated>true</d2p1:AddressUpdated>
    <d2p1:EmailSent>true</d2p1:EmailSent>
    <d2p1:EmailUpdated>true</d2p1:EmailUpdated>
    <d2p1:Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Errors>
    <d2p1:NameUpdated>true</d2p1:NameUpdated>
    <d2p1:PhoneUpdated>true</d2p1:PhoneUpdated>
  </Data>
</ApiSuccessOfUpdateMemberResultgLC8bFpX>