---
title: "Create landlord responsibility"
method: POST
path: "/landlord-responsibilities"
tags: ["Locations"]
---

# Create landlord responsibility

`POST /landlord-responsibilities`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/landlord-responsibilities`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/landlord-responsibilities/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ServiceChannelServicesMessagingLocationCreateLandlordResponsibilityApiRequest
  - `StoreId` string
  - `TradeName` string
  - `CategoryName` string
  - `OverridePriorityName` string
  - `OverrideCategoryName` string
  - `OverrideProviderRank` string
  - `OverrideNTE` string
  - `LeaseNote` string

## Response `201`

The Landlord Responsibility are created.

- ServiceChannelServicesMessagingLocationLandlordResponsibilityModel
  - `Id` integer
  - `LocationId` integer
  - `StoreId` string
  - `TradeId` integer
  - `CategoryId` integer
  - `OverrideCategoryId` integer
  - `OverridePriorityId` integer
  - `TradeName` string
  - `CategoryName` string
  - `OverridePriorityName` string
  - `OverrideCategoryName` string
  - `OverrideProviderRank` string
  - `OverrideNTE` string
  - `LeaseNote` string
  - `UpdatedBy` string
  - `UpdatedDate` string

## Other responses

- `400`: Bad Request - the request could not be understood or was missing required parameters. <br/>Error codes: 1301 — Request is empty or null 503 — Failed to create landlord responsibility 656 — The combination of Location Trade and Category must be unique 659 — Invalid Trade Id 660 — Invalid Category Id 661 — Invalid Override Category Id 662 — Invalid Override PriorityId 663 — Lease Note can not exceed 200 characters 664 — Invalid override provider rank 665 — Invalid override NTE
- `403`: User is not assigned to Location <br/>Error codes: 804 — User is not assigned to Location.
- `404`: Invalid Store Id <br/>Error codes: 606 — Invalid Store Id.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
