POST api/Users/AddPublisher
Request Information
URI Parameters
None.
Body Parameters
PublisherModelName | Description | Type | Additional information |
---|---|---|---|
sur_sdb_id | integer |
None. |
|
sdb_name | string |
None. |
|
SDB_ENGLISH_NAME | string |
None. |
|
SDB_PHONE_Work | string |
None. |
|
SDB_PHONE_MOBILE | string |
None. |
|
SDB_ADDRESS | string |
None. |
|
SDB_FAX | string |
None. |
|
tpb_id | string |
None. |
|
TPB_COMPANY_NAME | string |
None. |
|
TPB_WEBSITE | string |
None. |
|
TPB_POSITION | string |
None. |
|
TPB_LOGO_IMAGE | string |
None. |
|
TPB_EMAIL | string |
None. |
|
TPB_ARE_ID | integer |
None. |
|
TPB_PUBLISH | boolean |
None. |
|
TPB_PUBLIC_TENDER | boolean |
None. |
|
TPB_TTP_ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "sur_sdb_id": 1, "sdb_name": "sample string 2", "SDB_ENGLISH_NAME": "sample string 3", "SDB_PHONE_Work": "sample string 4", "SDB_PHONE_MOBILE": "sample string 5", "SDB_ADDRESS": "sample string 6", "SDB_FAX": "sample string 7", "tpb_id": "sample string 8", "TPB_COMPANY_NAME": "sample string 9", "TPB_WEBSITE": "sample string 10", "TPB_POSITION": "sample string 11", "TPB_LOGO_IMAGE": "sample string 12", "TPB_EMAIL": "sample string 13", "TPB_ARE_ID": 14, "TPB_PUBLISH": true, "TPB_PUBLIC_TENDER": true, "TPB_TTP_ID": 17 }
application/octet-stream, multipart/form-data
Sample:
{"sur_sdb_id":1,"sdb_name":"sample string 2","SDB_ENGLISH_NAME":"sample string 3","SDB_PHONE_Work":"sample string 4","SDB_PHONE_MOBILE":"sample string 5","SDB_ADDRESS":"sample string 6","SDB_FAX":"sample string 7","tpb_id":"sample string 8","TPB_COMPANY_NAME":"sample string 9","TPB_WEBSITE":"sample string 10","TPB_POSITION":"sample string 11","TPB_LOGO_IMAGE":"sample string 12","TPB_EMAIL":"sample string 13","TPB_ARE_ID":14,"TPB_PUBLISH":true,"TPB_PUBLIC_TENDER":true,"TPB_TTP_ID":17}
application/xml, text/xml
Sample:
<PublisherModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tenderjoAPI.Models"> <SDB_ADDRESS>sample string 6</SDB_ADDRESS> <SDB_ENGLISH_NAME>sample string 3</SDB_ENGLISH_NAME> <SDB_FAX>sample string 7</SDB_FAX> <SDB_PHONE_MOBILE>sample string 5</SDB_PHONE_MOBILE> <SDB_PHONE_Work>sample string 4</SDB_PHONE_Work> <TPB_ARE_ID>14</TPB_ARE_ID> <TPB_COMPANY_NAME>sample string 9</TPB_COMPANY_NAME> <TPB_EMAIL>sample string 13</TPB_EMAIL> <TPB_LOGO_IMAGE>sample string 12</TPB_LOGO_IMAGE> <TPB_POSITION>sample string 11</TPB_POSITION> <TPB_PUBLIC_TENDER>true</TPB_PUBLIC_TENDER> <TPB_PUBLISH>true</TPB_PUBLISH> <TPB_TTP_ID>17</TPB_TTP_ID> <TPB_WEBSITE>sample string 10</TPB_WEBSITE> <sdb_name>sample string 2</sdb_name> <sur_sdb_id>1</sur_sdb_id> <tpb_id>sample string 8</tpb_id> </PublisherModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, multipart/form-data, application/xml, text/xml
Sample:
Sample not available.