POST api/UserProduct/SetAllUserProducts

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
userProducts
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userProducts": [
    {
      "projectId": "sample string 1",
      "productId": 2,
      "userId": "sample string 3"
    },
    {
      "projectId": "sample string 1",
      "productId": 2,
      "userId": "sample string 3"
    },
    {
      "projectId": "sample string 1",
      "productId": 2,
      "userId": "sample string 3"
    }
  ]
}

text/html

Sample:
{"userProducts":[{"projectId":"sample string 1","productId":2,"userId":"sample string 3"},{"projectId":"sample string 1","productId":2,"userId":"sample string 3"},{"projectId":"sample string 1","productId":2,"userId":"sample string 3"}]}

application/xml, text/xml

Sample:
<UserProductsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FairCatalogue.WebApi.Models">
  <UserProducts>
    <UserProductBindingModel>
      <ProductId>2</ProductId>
      <ProjectId>sample string 1</ProjectId>
      <UserId>sample string 3</UserId>
    </UserProductBindingModel>
    <UserProductBindingModel>
      <ProductId>2</ProductId>
      <ProjectId>sample string 1</ProjectId>
      <UserId>sample string 3</UserId>
    </UserProductBindingModel>
    <UserProductBindingModel>
      <ProductId>2</ProductId>
      <ProjectId>sample string 1</ProjectId>
      <UserId>sample string 3</UserId>
    </UserProductBindingModel>
  </UserProducts>
</UserProductsBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>