POST staff/provider/edit

Request Information

URI Parameters

None.

Body Parameters

Request_Provider_CU
NameDescriptionTypeAdditional information
id

integer

Required

provider_name

string

Required

address

string

Required

phone

string

Required

fax

string

Required

email

string

Required

bank_num

string

Required

id_bank

integer

Required

tax_no

string

Required

deputy

string

Required

token

string

Required

secret_key

string

Required

id_staff_action

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "provider_name": "sample string 2",
  "address": "sample string 3",
  "phone": "sample string 4",
  "fax": "sample string 5",
  "email": "sample string 6",
  "bank_num": "sample string 7",
  "id_bank": 8,
  "tax_no": "sample string 9",
  "deputy": "sample string 10",
  "token": "sample string 11",
  "secret_key": "sample string 12",
  "id_staff_action": 13
}

application/xml, text/xml

Sample:
<Request_Provider_CU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code.Directory.Models.Dictionary.Request">
  <id_staff_action xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">13</id_staff_action>
  <secret_key xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 12</secret_key>
  <token xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">sample string 11</token>
  <address>sample string 3</address>
  <bank_num>sample string 7</bank_num>
  <deputy>sample string 10</deputy>
  <email>sample string 6</email>
  <fax>sample string 5</fax>
  <id>1</id>
  <id_bank>8</id_bank>
  <phone>sample string 4</phone>
  <provider_name>sample string 2</provider_name>
  <tax_no>sample string 9</tax_no>
</Request_Provider_CU>

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

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
status

integer

None.

error_code

string

None.

content

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "error_code": "sample string 2",
  "content": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/be_motosoft.Areas.Code">
  <content />
  <error_code>sample string 2</error_code>
  <status>1</status>
</Result>