MileagePrivate

GetMillagesPrivateAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
filter.skip
integer <int32>
filter.take
integer <int32>
filter.status
Array of integers <int32>
Items Enum: 1 2 3
Responses
200

OK

get/api/companies/{companyUid}/millage/private
Request samples
Response samples
{
}

InsertMileagePrivateAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
employeeUid
required
string <uuid>
date
required
string <date-time>
createdTime
string <date-time>
required
object (Zalary.Mileage.Contracts.Mileage.Models.MileageAddressDto)
required
object (Zalary.Mileage.Contracts.Mileage.Models.MileageAddressDto)
totalKm
required
number <double>
description
string
routeId
string
registrationNumber
string [ 0 .. 20 ] characters
Responses
200

OK

post/api/companies/{companyUid}/millage/private
Request samples
{
}
Response samples
{
}

SetMileagePrivateAsArhivedAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
mileageUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/millage/private/{mileageUid}/archive
Request samples

SetMileagePrivateAsCompanyMileageAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
mileageUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
string
Responses
204

No Content

patch/api/companies/{companyUid}/millage/private/{mileageUid}/company
Request samples
"string"

SetMileagePrivateAsPendingAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
mileageUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/millage/private/{mileageUid}/pending
Request samples

DeletePrivateMileageAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
mileageUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

delete/api/companies/{companyUid}/millage/private/{mileageUid}
Request samples