Bulwark Web API Service Host

<back to all web services

ContactDescriptiveTypeRequest

Get ContactDescriptiveType

The following routes are available for this service:
GET,POST/api/Vanguard/ContactDescriptiveTypeRequest

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/ContactDescriptiveTypeRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: text/jsv
Content-Length: length

{
	DataObj: 
	[
		{
			ContactEmailTypes: 
			[
				{
					Id: 0,
					Name: String,
					Priority: 0,
					Deleted: False
				}
			],
			ContactAddressTypes: 
			[
				{
					Id: 0,
					Name: String,
					Priority: 0,
					Deleted: False
				}
			],
			ContactPhoneNumberTypes: 
			[
				{
					Id: 0,
					Name: String,
					Priority: 0,
					Deleted: False
				}
			],
			ContactStates: 
			[
				{
					Id: 0,
					Name: String,
					Code: String,
					Deleted: False
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	DataObj: 
	[
		{
			ContactEmailTypes: 
			[
				{
					Id: 0,
					Name: String,
					Priority: 0,
					Deleted: False
				}
			],
			ContactAddressTypes: 
			[
				{
					Id: 0,
					Name: String,
					Priority: 0,
					Deleted: False
				}
			],
			ContactPhoneNumberTypes: 
			[
				{
					Id: 0,
					Name: String,
					Priority: 0,
					Deleted: False
				}
			],
			ContactStates: 
			[
				{
					Id: 0,
					Name: String,
					Code: String,
					Deleted: False
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}