PUT api/user/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateUserBase
NameDescriptionTypeAdditional information
recognitionId

string

None.

lastStripePaymentId

string

None.

specialities

Collection of Speciality

None.

documents

Collection of Document

None.

Request Formats

application/json, text/json

Sample:
{
  "recognitionId": "sample string 1",
  "lastStripePaymentId": "sample string 2",
  "specialities": [
    {
      "uuid": "sample string 1",
      "name": "sample string 2"
    },
    {
      "uuid": "sample string 1",
      "name": "sample string 2"
    }
  ],
  "documents": [
    {
      "uuid": "sample string 1",
      "contentType": "sample string 2",
      "fileName": "sample string 3",
      "url": "sample string 4"
    },
    {
      "uuid": "sample string 1",
      "contentType": "sample string 2",
      "fileName": "sample string 3",
      "url": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateUserBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SHPACollegeAPI.Models.RequestModels">
  <documents>
    <Document>
      <contentType>sample string 2</contentType>
      <fileName>sample string 3</fileName>
      <url>sample string 4</url>
      <uuid>sample string 1</uuid>
    </Document>
    <Document>
      <contentType>sample string 2</contentType>
      <fileName>sample string 3</fileName>
      <url>sample string 4</url>
      <uuid>sample string 1</uuid>
    </Document>
  </documents>
  <lastStripePaymentId>sample string 2</lastStripePaymentId>
  <recognitionId>sample string 1</recognitionId>
  <specialities>
    <Speciality>
      <name>sample string 2</name>
      <uuid>sample string 1</uuid>
    </Speciality>
    <Speciality>
      <name>sample string 2</name>
      <uuid>sample string 1</uuid>
    </Speciality>
  </specialities>
</UpdateUserBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.