POST api/MTForms/Supplier/Manage

Request Information

URI Parameters

None.

Body Parameters

SupplierModel
NameDescriptionTypeAdditional information
SupplierID

integer

None.

SupplierCode

string

None.

SupplierName

string

None.

SupplierRemarks

string

None.

StreetAddress

string

None.

StreetAddress2

string

None.

RegionCode

string

None.

ProvinceCode

string

None.

CityCode

string

None.

BarangayCode

string

None.

ZipCode

string

None.

FirstName

string

None.

LastName

string

None.

TelephoneNumber

string

None.

CellphoneNumber

string

None.

EmailAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SupplierID": 1,
  "SupplierCode": "sample string 1",
  "SupplierName": "sample string 2",
  "SupplierRemarks": "sample string 3",
  "StreetAddress": "sample string 4",
  "StreetAddress2": "sample string 5",
  "RegionCode": "sample string 6",
  "ProvinceCode": "sample string 7",
  "CityCode": "sample string 8",
  "BarangayCode": "sample string 9",
  "ZipCode": "sample string 10",
  "FirstName": "sample string 11",
  "LastName": "sample string 12",
  "TelephoneNumber": "sample string 13",
  "CellphoneNumber": "sample string 14",
  "EmailAddress": "sample string 15"
}

application/xml, text/xml

Sample:
<SupplierModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MTServiceAPI.Models.MTForms">
  <BarangayCode>sample string 9</BarangayCode>
  <CellphoneNumber>sample string 14</CellphoneNumber>
  <CityCode>sample string 8</CityCode>
  <EmailAddress>sample string 15</EmailAddress>
  <FirstName>sample string 11</FirstName>
  <LastName>sample string 12</LastName>
  <ProvinceCode>sample string 7</ProvinceCode>
  <RegionCode>sample string 6</RegionCode>
  <StreetAddress>sample string 4</StreetAddress>
  <StreetAddress2>sample string 5</StreetAddress2>
  <SupplierCode>sample string 1</SupplierCode>
  <SupplierID>1</SupplierID>
  <SupplierName>sample string 2</SupplierName>
  <SupplierRemarks>sample string 3</SupplierRemarks>
  <TelephoneNumber>sample string 13</TelephoneNumber>
  <ZipCode>sample string 10</ZipCode>
</SupplierModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RequestModel
NameDescriptionTypeAdditional information
Status

Status

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Description": "sample string 1"
}

application/xml, text/xml

Sample:
<RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MTServiceAPI.Models">
  <Description>sample string 1</Description>
  <Status>Ok</Status>
</RequestModel>