TeleportService

<back to all web services

OfferGetUserSend

Requires Authentication
The following routes are available for this service:
GET, POST/OfferGetUserSend
OfferGetUserSend Parameters:
NameParameterData TypeRequiredDescription
StartDatebodyDateTimeNo
EndDatebodyDateTimeNo
OfferListResponse Parameters:
NameParameterData TypeRequiredDescription
OffersformList<OfferListItemDto>No
ErrCodeformintNo
ResponseStatusformResponseStatusNo
OfferListItemDto Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
UserNameformstringNo
TeamformstringNo
NumformstringNo
CreateDateformDateTimeNo
UpdateDateformDateTimeNo
CompanyformOfferDtoCompanyNo
ContractformOfferDtoContractNo
SumformdecimalNo
CommentformstringNo
OfferDtoCompany Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
OfferDtoContract Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
DateformDateTimeNo
NumberformstringNo
NameformstringNo

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 /OfferGetUserSend HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	StartDate: 0001-01-01,
	EndDate: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Offers: 
	[
		{
			Id: String,
			UserName: String,
			Team: String,
			Num: String,
			CreateDate: 0001-01-01,
			UpdateDate: 0001-01-01,
			Company: 
			{
				Id: String,
				Name: String
			},
			Contract: 
			{
				Id: String,
				Date: 0001-01-01,
				Number: String,
				Name: String
			},
			Sum: 0,
			Comment: String
		}
	],
	ErrCode: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}