POST secure/csrbi/subscriptions

Request Information

URI Parameters

None.

Body Parameters

SubscriptionDto
NameDescriptionTypeAdditional information
SubscriptionID

integer

None.

SubscriptionGUID

globally unique identifier

None.

TenantID

integer

None.

EndpointUrl

string

None.

IsActive

boolean

None.

PageSize

integer

None.

FromDate

date

None.

ToDate

date

None.

CreatedAt

date

None.

UpdatedAt

date

None.

Status

string

None.

Name

string

None.

Deleted

boolean

None.

DeletedOn

date

None.

DeletedBy

string

None.

UpdatedBy

string

None.

Locations

string

None.

InventoryItems

string

None.

LocationIDs

Collection of integer

None.

InventoryIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriptionID": 1,
  "SubscriptionGUID": "4df92c7c-59ca-41d8-86b4-d44c58aeffdf",
  "TenantID": 3,
  "EndpointUrl": "sample string 4",
  "IsActive": true,
  "PageSize": 6,
  "FromDate": "2026-02-25T08:01:00.068429+00:00",
  "ToDate": "2026-02-25T08:01:00.068429+00:00",
  "CreatedAt": "2026-02-25T08:01:00.068429+00:00",
  "UpdatedAt": "2026-02-25T08:01:00.068429+00:00",
  "Status": "sample string 7",
  "Name": "sample string 8",
  "Deleted": true,
  "DeletedOn": "2026-02-25T08:01:00.068429+00:00",
  "DeletedBy": "sample string 10",
  "UpdatedBy": "sample string 11",
  "Locations": "sample string 12",
  "InventoryItems": "sample string 13",
  "LocationIDs": [
    1,
    2
  ],
  "InventoryIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<SubscriptionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSRAPI.Models.DTO">
  <CreatedAt>2026-02-25T08:01:00.068429+00:00</CreatedAt>
  <Deleted>true</Deleted>
  <DeletedBy>sample string 10</DeletedBy>
  <DeletedOn>2026-02-25T08:01:00.068429+00:00</DeletedOn>
  <EndpointUrl>sample string 4</EndpointUrl>
  <FromDate>2026-02-25T08:01:00.068429+00:00</FromDate>
  <InventoryIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InventoryIDs>
  <InventoryItems>sample string 13</InventoryItems>
  <IsActive>true</IsActive>
  <LocationIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LocationIDs>
  <Locations>sample string 12</Locations>
  <Name>sample string 8</Name>
  <PageSize>6</PageSize>
  <Status>sample string 7</Status>
  <SubscriptionGUID>4df92c7c-59ca-41d8-86b4-d44c58aeffdf</SubscriptionGUID>
  <SubscriptionID>1</SubscriptionID>
  <TenantID>3</TenantID>
  <ToDate>2026-02-25T08:01:00.068429+00:00</ToDate>
  <UpdatedAt>2026-02-25T08:01:00.068429+00:00</UpdatedAt>
  <UpdatedBy>sample string 11</UpdatedBy>
</SubscriptionDto>

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.