GET api/CancerType?userId={userId}

Returns a list of valid cancer type codes and names

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

Provider user id. Required

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CancerType
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": "sample string 1",
    "Name": "sample string 2"
  },
  {
    "Code": "sample string 1",
    "Name": "sample string 2"
  }
]

text/html

Sample:
[{"Code":"sample string 1","Name":"sample string 2"},{"Code":"sample string 1","Name":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfCancerType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CancerType>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
  </CancerType>
  <CancerType>
    <Code>sample string 1</Code>
    <Name>sample string 2</Name>
  </CancerType>
</ArrayOfCancerType>