Cdn API - CPG Source

<back to all web services

WebTeamMemberRequest

Cdn.Api

The following routes are available for this service:
GET,POST,PUT,DELETE/WebTeamMemberRequest
WebTeamMemberRequest Parameters:
NameParameterData TypeRequiredDescription
NamebodystringNo
TitlebodystringNo
ImageUrlbodystringNo
BiobodystringNo
EmailAddressbodystringNo
LinkedInUrlbodystringNo
PhoneNumberbodystringNo
DisplayOnWebsitebodyboolNo
SortOrderbodyintNo
DisplayOnWebsiteOnlybodyboolNo
ActiveOnlybodyboolNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
WebTeamMemberResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<WebTeamMemberDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
WebTeamMemberDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
NameformstringNo
TitleformstringNo
ImageUrlformstringNo
BioformstringNo
EmailAddressformstringNo
LinkedInUrlformstringNo
PhoneNumberformstringNo
DisplayOnWebsiteformboolNo
SortOrderformintNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo
WebTeamMemberResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<WebTeamMemberDto>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /WebTeamMemberRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<WebTeamMemberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <Id>0</Id>
  <OrderBy xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </OrderBy>
  <OrderDirections>
    <SortOrders>Asc</SortOrders>
  </OrderDirections>
  <ActiveOnly>false</ActiveOnly>
  <Bio>String</Bio>
  <DisplayOnWebsite>false</DisplayOnWebsite>
  <DisplayOnWebsiteOnly>false</DisplayOnWebsiteOnly>
  <EmailAddress>String</EmailAddress>
  <ImageUrl>String</ImageUrl>
  <LinkedInUrl>String</LinkedInUrl>
  <Name>String</Name>
  <PhoneNumber>String</PhoneNumber>
  <SortOrder>0</SortOrder>
  <Title>String</Title>
</WebTeamMemberRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<WebTeamMemberResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects">
  <CachedResponse>false</CachedResponse>
  <ErrorText>String</ErrorText>
  <OpCode>0</OpCode>
  <RequestTime>String</RequestTime>
  <ResponseTime>String</ResponseTime>
  <Total>0</Total>
  <TotalExecutionTime>String</TotalExecutionTime>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
    <d2p1:WebTeamMemberDto>
      <d2p1:Active>false</d2p1:Active>
      <d2p1:Bio>String</d2p1:Bio>
      <d2p1:DisplayOnWebsite>false</d2p1:DisplayOnWebsite>
      <d2p1:EmailAddress>String</d2p1:EmailAddress>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:ImageUrl>String</d2p1:ImageUrl>
      <d2p1:LastMod>0001-01-01T00:00:00</d2p1:LastMod>
      <d2p1:LastModBy>String</d2p1:LastModBy>
      <d2p1:LinkedInUrl>String</d2p1:LinkedInUrl>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:PhoneNumber>String</d2p1:PhoneNumber>
      <d2p1:SortOrder>0</d2p1:SortOrder>
      <d2p1:Title>String</d2p1:Title>
    </d2p1:WebTeamMemberDto>
  </Data>
</WebTeamMemberResponse>