POST Companies({CompanyId})/ReasonCodes

Creates a Reason Code for a Company

Information:

Base URL:

https://api.covasoft.net/reasoncode

Example of a call would be:

https://api.covasoft.net/reasoncode/Companies({CompanyId})/ReasonCodes

Body Example:

{ "Name": "Test - New Quantity reason code", "Type": "Quantity" }

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

The unique Company Id that was provided in your onboarding pacakage

integer

Required

Body Parameters

Body of call see example above

CreateReasonCodePost
NameDescriptionTypeAdditional information
Name

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Type": "sample string 2"
}

Response Information

Resource Description

The Created Reason Code

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.