POST branch/product

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

BranchProduct
NameDescriptionTypeAdditional information
branchId

globally unique identifier

None.

branchName

string

None.

matched

boolean

None.

productId

globally unique identifier

None.

isActive

boolean

None.

price

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "branchId": "45789aaa-f4a4-4f1c-864c-892bade468d8",
  "branchName": "sample string 1",
  "matched": true,
  "productId": "4b1d3e18-2619-4c50-8095-566cf117cee2",
  "isActive": true,
  "price": 3.1
}

application/xml, text/xml

Sample:
<BranchProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Careby.Api.Models">
  <branchId>45789aaa-f4a4-4f1c-864c-892bade468d8</branchId>
  <branchName>sample string 1</branchName>
  <isActive>true</isActive>
  <price>3.1</price>
  <productId>4b1d3e18-2619-4c50-8095-566cf117cee2</productId>
</BranchProduct>