TeleportService

<back to all web services

Contracts_GetTeamContracts

Requires Authentication
The following routes are available for this service:
POST, GET/Contracts_GetTeamContracts
Contracts_GetTeamContracts Parameters:
NameParameterData TypeRequiredDescription
ContactbodystringNo
GetTeamContractsResponce Parameters:
NameParameterData TypeRequiredDescription
ContractsformList<Contract>No
ErrCodeformintNo
ResponseStatusformResponseStatusNo
Contract Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CreateDateformDateTimeNo
UpdateDateformDateTimeNo
UidformstringNo
TeamformstringNo
OwnerformstringNo
ContactformstringNo
NameformstringNo
InnformstringNo
KppformstringNo
AddressformstringNo
PhoneformstringNo
AdditionalPropertiesformDictionary<string, string>No

To override the Content-type in your clients, use the 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 /Contracts_GetTeamContracts HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Contact: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Contracts: 
	[
		{
			Id: String,
			CreateDate: 0001-01-01,
			UpdateDate: 0001-01-01,
			Uid: String,
			Team: String,
			Owner: String,
			Contact: String,
			Name: String,
			Inn: String,
			Kpp: String,
			Address: String,
			Phone: String,
			AdditionalProperties: {}
		}
	],
	ErrCode: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}