POST api/Partner/UpdatePartner

Request Information

URI Parameters

None.

Body Parameters

DataPartnerSumary
NameDescriptionTypeAdditional information
PartnerID

integer

None.

PartnerName

string

None.

JoinDate

string

None.

Code

string

None.

ContactName

string

None.

ContactPhone

string

None.

ContactEmail

string

None.

Username

string

None.

Password

string

None.

Note

string

None.

AppCode

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "PartnerID": 1,
  "PartnerName": "sample string 2",
  "JoinDate": "sample string 3",
  "Code": "sample string 4",
  "ContactName": "sample string 5",
  "ContactPhone": "sample string 6",
  "ContactEmail": "sample string 7",
  "Username": "sample string 8",
  "Password": "sample string 9",
  "Note": "sample string 10",
  "AppCode": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfObject
NameDescriptionTypeAdditional information
status

integer

None.

data

Object

None.

page

PageModel

None.

error

ErrorModel

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "data": {},
  "page": {
    "Page": 1,
    "AllPage": 2,
    "Size": 3,
    "TotalCount": 4
  },
  "error": {
    "message": "sample string 1",
    "code": "sample string 2",
    "page": {
      "Page": 1,
      "AllPage": 2,
      "Size": 3,
      "TotalCount": 4
    }
  }
}

application/xml, text/xml

Sample: