POST api/VendorTypes
Request Information
URI Parameters
None.
Body Parameters
VendorTypeName | Description | Type | Additional information |
---|---|---|---|
VendorTypeID | integer |
None. |
|
VendorTypeCode | string |
Required String length: inclusive between 0 and 50 |
|
VendorTypeDesc | string |
String length: inclusive between 0 and 256 |
|
ServiceCode | string |
Required String length: inclusive between 0 and 50 |
|
ViewClient | string |
Required String length: inclusive between 0 and 1 |
|
Added_By | string |
String length: inclusive between 0 and 50 |
|
Added_On | date |
None. |
|
Modified_By | string |
String length: inclusive between 0 and 50 |
|
Modified_On | date |
None. |
|
ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "VendorTypeID": 1, "VendorTypeCode": "sample string 2", "VendorTypeDesc": "sample string 3", "ServiceCode": "sample string 4", "ViewClient": "sample string 5", "Added_By": "sample string 6", "Added_On": "2025-05-09T17:31:23.9588167+00:00", "Modified_By": "sample string 8", "Modified_On": "2025-05-09T17:31:23.9588167+00:00", "ID": 9 }
application/xml, text/xml
Sample:
<VendorType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric"> <Added_By>sample string 6</Added_By> <Added_On>2025-05-09T17:31:23.9588167+00:00</Added_On> <ID>9</ID> <Modified_By>sample string 8</Modified_By> <Modified_On>2025-05-09T17:31:23.9588167+00:00</Modified_On> <ServiceCode>sample string 4</ServiceCode> <VendorTypeCode>sample string 2</VendorTypeCode> <VendorTypeDesc>sample string 3</VendorTypeDesc> <VendorTypeID>1</VendorTypeID> <ViewClient>sample string 5</ViewClient> </VendorType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VendorTypeName | Description | Type | Additional information |
---|---|---|---|
VendorTypeID | integer |
None. |
|
VendorTypeCode | string |
Required String length: inclusive between 0 and 50 |
|
VendorTypeDesc | string |
String length: inclusive between 0 and 256 |
|
ServiceCode | string |
Required String length: inclusive between 0 and 50 |
|
ViewClient | string |
Required String length: inclusive between 0 and 1 |
|
Added_By | string |
String length: inclusive between 0 and 50 |
|
Added_On | date |
None. |
|
Modified_By | string |
String length: inclusive between 0 and 50 |
|
Modified_On | date |
None. |
|
ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "VendorTypeID": 1, "VendorTypeCode": "sample string 2", "VendorTypeDesc": "sample string 3", "ServiceCode": "sample string 4", "ViewClient": "sample string 5", "Added_By": "sample string 6", "Added_On": "2025-05-09T17:31:23.9744627+00:00", "Modified_By": "sample string 8", "Modified_On": "2025-05-09T17:31:23.9744627+00:00", "ID": 9 }
application/xml, text/xml
Sample:
<VendorType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric"> <Added_By>sample string 6</Added_By> <Added_On>2025-05-09T17:31:23.9744627+00:00</Added_On> <ID>9</ID> <Modified_By>sample string 8</Modified_By> <Modified_On>2025-05-09T17:31:23.9744627+00:00</Modified_On> <ServiceCode>sample string 4</ServiceCode> <VendorTypeCode>sample string 2</VendorTypeCode> <VendorTypeDesc>sample string 3</VendorTypeDesc> <VendorTypeID>1</VendorTypeID> <ViewClient>sample string 5</ViewClient> </VendorType>