PUT api/RosterMember/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

RosterMemberRequest
NameDescriptionTypeAdditional information
RosterMember

RosterMember

None.

Request Formats

application/json, text/json

Sample:
{
  "RosterMember": {
    "Id": "52e43d66-f5c5-4f46-8c38-4688d4482a56",
    "RosterId": "9aa7faf1-e4af-4954-9697-a7674c047ca6",
    "RosterCode": "sample string 3",
    "Member": {
      "Type": "sample string 1",
      "Id": "222abaec-1436-41d2-bd47-7022b2a33aa8",
      "Number": "sample string 3",
      "Name": "sample string 4"
    },
    "Comments": "sample string 4",
    "Custom": {
      "Attribute": [
        {
          "Type": 0,
          "Key": "sample string 1",
          "Value": "sample string 2",
          "FormattedValue": "sample string 3"
        },
        {
          "Type": 0,
          "Key": "sample string 1",
          "Value": "sample string 2",
          "FormattedValue": "sample string 3"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<RosterMemberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.RosterMember">
  <RosterMember>
    <Comments>sample string 4</Comments>
    <Custom>
      <Attribute xmlns:d4p1="http://schemas.datacontract.org/2004/07/Protech.UX.API.CRMEntity">
        <d4p1:Attribute>
          <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Type>text</d4p1:Type>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:Attribute>
        <d4p1:Attribute>
          <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Type>text</d4p1:Type>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:Attribute>
      </Attribute>
    </Custom>
    <Id>52e43d66-f5c5-4f46-8c38-4688d4482a56</Id>
    <Member>
      <Id>222abaec-1436-41d2-bd47-7022b2a33aa8</Id>
      <Name>sample string 4</Name>
      <Number>sample string 3</Number>
      <Type>sample string 1</Type>
    </Member>
    <RosterCode>sample string 3</RosterCode>
    <RosterId>9aa7faf1-e4af-4954-9697-a7674c047ca6</RosterId>
  </RosterMember>
</RosterMemberRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

Status

None.

Id

globally unique identifier

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Id": "8a2ff3e0-cbda-4cab-b642-48295b266e53",
  "Description": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Response">
  <Description>sample string 2</Description>
  <Id>8a2ff3e0-cbda-4cab-b642-48295b266e53</Id>
  <Status>Success</Status>
</APIResponse>