PUT api/partners/{partnerid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
partnerid

string

Required

Body Parameters

partner
NameDescriptionTypeAdditional information
id

integer

None.

partnerid

string

Required

validperiod

time interval

Required

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "partnerid": "sample string 2",
  "validperiod": "00:00:00.1234567"
}

text/html

Sample:
{"id":1,"partnerid":"sample string 2","validperiod":"00:00:00.1234567"}

application/xml, text/xml

Sample:
<partner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FileServiceAPI.Models">
  <id>1</id>
  <partnerid>sample string 2</partnerid>
  <validperiod>PT0.1234567S</validperiod>
</partner>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'partner'.

Response Information

Resource Description

partner
NameDescriptionTypeAdditional information
id

integer

None.

partnerid

string

Required

validperiod

time interval

Required

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "partnerid": "sample string 2",
  "validperiod": "00:00:00.1234567"
}

text/html

Sample:
{"id":1,"partnerid":"sample string 2","validperiod":"00:00:00.1234567"}

application/xml, text/xml

Sample:
<partner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FileServiceAPI.Models">
  <id>1</id>
  <partnerid>sample string 2</partnerid>
  <validperiod>PT0.1234567S</validperiod>
</partner>