PUT api/PrimaryTumour/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PrimaryTumourDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PrimaryTumourID | integer |
None. |
|
| PrimaryTumourName | string |
None. |
|
| Inactive | boolean |
None. |
|
| SortIndex | integer |
None. |
|
| links | Collection of Link |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrimaryTumourID": 1,
"PrimaryTumourName": "sample string 2",
"Inactive": true,
"SortIndex": 4,
"links": null
}
application/xml, text/xml
Sample:
<PrimaryTumourDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel.AFNAPS.Guidance.PatientDetails"> <Inactive>true</Inactive> <PrimaryTumourID>1</PrimaryTumourID> <PrimaryTumourName>sample string 2</PrimaryTumourName> <SortIndex>4</SortIndex> <links xmlns:d2p1="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel" i:nil="true" /> </PrimaryTumourDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.