POST api/supplier/save-department

Request Information

URI Parameters

None.

Body Parameters

SaveSupplierDepartmentRequest
NameDescriptionTypeAdditional information
SupplierID

integer

None.

ProductID

integer

None.

Description

string

None.

InvoiceEmail

string

None.

DefaultRenewalDays

integer

None.

IsActive

boolean

None.

UpdatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SupplierID": 1,
  "ProductID": 2,
  "Description": "sample string 3",
  "InvoiceEmail": "sample string 4",
  "DefaultRenewalDays": 5,
  "IsActive": true,
  "UpdatedBy": 7
}

application/xml, text/xml

Sample:
<SaveSupplierDepartmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PricingWebAPI.Models">
  <DefaultRenewalDays>5</DefaultRenewalDays>
  <Description>sample string 3</Description>
  <InvoiceEmail>sample string 4</InvoiceEmail>
  <IsActive>true</IsActive>
  <ProductID>2</ProductID>
  <SupplierID>1</SupplierID>
  <UpdatedBy>7</UpdatedBy>
</SaveSupplierDepartmentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.