PUT api/OFFICE_CUSTOMERS/PutOFFICE_CUSTOMERS/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OFFICE_CUSTOMERS
NameDescriptionTypeAdditional information
CUSTOMER_ID

integer

None.

CUSTOMER_NAME

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CUSTOMER_ID": 1,
  "CUSTOMER_NAME": "sample string 2"
}

application/xml, text/xml

Sample:
<OFFICE_CUSTOMERS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TopsumMX2020.Models">
  <CUSTOMER_ID>1</CUSTOMER_ID>
  <CUSTOMER_NAME>sample string 2</CUSTOMER_NAME>
</OFFICE_CUSTOMERS>

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 'OFFICE_CUSTOMERS'.

Response Information

Resource Description

None.