POST api/BoardMember/EditBoardMember

Request Information

URI Parameters

None.

Body Parameters

BoardMember
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Address

string

None.

City

string

None.

PostalCode

string

None.

Email

string

None.

PhoneNumber

string

None.

Roles

string

None.

Responsible

string

None.

ImageUrl

string

None.

BoardMemberImage

Image

None.

Afdelinger

string

None.

BoardMemberStatus

Status

None.

ShowOnContactPage

string

None.

Id

integer

None.

Created

date

None.

CreatedBy

string

None.

Modified

date

None.

ModifiedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "PostalCode": "sample string 5",
  "Email": "sample string 6",
  "PhoneNumber": "sample string 7",
  "Roles": "sample string 8",
  "Responsible": "sample string 9",
  "ImageUrl": "sample string 10",
  "BoardMemberImage": {
    "Id": 1,
    "Guid": "409ae8d9-1ad5-4df6-95d4-45626fa35451",
    "RawImage": "QEA=",
    "FileType": "sample string 2",
    "FileName": "sample string 3",
    "Ratio": 4.1,
    "UploadedDate": "2019-10-15T05:48:19.3800928+02:00",
    "ImageUrl": "sample string 6",
    "Afdeling": 0,
    "Type": 0,
    "Title": "sample string 7",
    "Description": "sample string 8",
    "FrontText": "sample string 9",
    "FrontTextColor": "sample string 10",
    "FrontBackgroundColor": "sample string 11",
    "ShowOnFrontPage": true
  },
  "Afdelinger": "sample string 11",
  "BoardMemberStatus": 0,
  "ShowOnContactPage": "sample string 12",
  "Id": 13,
  "Created": "2019-10-15T05:48:19.3800928+02:00",
  "CreatedBy": "sample string 14",
  "Modified": "2019-10-15T05:48:19.3800928+02:00",
  "ModifiedBy": "sample string 15"
}

application/xml, text/xml

Sample:
<BoardMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:19.3800928+02:00</Created>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 14</CreatedBy>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">13</Id>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:19.3800928+02:00</Modified>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 15</ModifiedBy>
  <Address>sample string 3</Address>
  <Afdelinger>sample string 11</Afdelinger>
  <BoardMemberImage>
    <Afdeling>Håndbold</Afdeling>
    <Description>sample string 8</Description>
    <FileName>sample string 3</FileName>
    <FileType>sample string 2</FileType>
    <FrontBackgroundColor>sample string 11</FrontBackgroundColor>
    <FrontText>sample string 9</FrontText>
    <FrontTextColor>sample string 10</FrontTextColor>
    <Guid>409ae8d9-1ad5-4df6-95d4-45626fa35451</Guid>
    <Id>1</Id>
    <ImageUrl>sample string 6</ImageUrl>
    <Ratio>4.1</Ratio>
    <RawImage>QEA=</RawImage>
    <ShowOnFrontPage>true</ShowOnFrontPage>
    <Title>sample string 7</Title>
    <Type>News</Type>
    <UploadedDate>2019-10-15T05:48:19.3800928+02:00</UploadedDate>
  </BoardMemberImage>
  <BoardMemberStatus>Aktiv</BoardMemberStatus>
  <City>sample string 4</City>
  <Email>sample string 6</Email>
  <FirstName>sample string 1</FirstName>
  <ImageUrl>sample string 10</ImageUrl>
  <LastName>sample string 2</LastName>
  <PhoneNumber>sample string 7</PhoneNumber>
  <PostalCode>sample string 5</PostalCode>
  <Responsible>sample string 9</Responsible>
  <Roles>sample string 8</Roles>
  <ShowOnContactPage>sample string 12</ShowOnContactPage>
</BoardMember>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfBoolean
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

boolean

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": true,
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfboolean>