swagger.yaml 240 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. type: object
  92. common.QueryTableDefineRsp:
  93. properties:
  94. columns:
  95. description: 列头信息数组
  96. items:
  97. $ref: '#/definitions/models.Tablecolumnconfig'
  98. type: array
  99. remark:
  100. description: Remark
  101. type: string
  102. tabelmenu:
  103. description: 列表菜单
  104. type: string
  105. tablekey:
  106. description: 列表Key
  107. type: string
  108. tablename:
  109. description: 列表名称
  110. type: string
  111. tabletype:
  112. description: 列表类型 - 1:管理端 2:终端
  113. type: integer
  114. required:
  115. - tablekey
  116. type: object
  117. common.QueryTraderMenuRsp:
  118. properties:
  119. OperationMenu:
  120. description: 功能菜单
  121. items:
  122. $ref: '#/definitions/models.OperationPrimaryMenu'
  123. type: array
  124. QuoteMenu:
  125. description: 报价牌分类菜单
  126. items:
  127. $ref: '#/definitions/models.QuotePrimaryMenu'
  128. type: array
  129. type: object
  130. cptrade.Cptradepositioncancel:
  131. properties:
  132. accountid:
  133. description: 申请人账户ID
  134. type: integer
  135. applystatus:
  136. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  137. type: integer
  138. applytime:
  139. description: 申请时间
  140. type: string
  141. cancelid:
  142. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  143. type: integer
  144. cancelqty:
  145. description: 注销数量
  146. type: integer
  147. createtime:
  148. description: 创建时间
  149. type: string
  150. creatorid:
  151. description: 创建人ID
  152. type: integer
  153. creatorname:
  154. description: 创建人
  155. type: string
  156. goodscode:
  157. description: 订单商品代码
  158. type: string
  159. goodsid:
  160. description: 商品ID
  161. type: integer
  162. goodsname:
  163. description: 订单商品名称
  164. type: string
  165. goodunit:
  166. description: 报价单位
  167. type: string
  168. handlestatus:
  169. description: 处理状态
  170. type: integer
  171. marketid:
  172. description: 市场ID
  173. type: integer
  174. marketname:
  175. description: 市场名称
  176. type: string
  177. tradedate:
  178. description: 交易日(yyyyMMdd)
  179. type: string
  180. userid:
  181. description: 申请人ID
  182. type: integer
  183. required:
  184. - cancelid
  185. type: object
  186. cptrade.Cptradepresaleapply:
  187. properties:
  188. accountid:
  189. description: 申请人账户ID
  190. type: integer
  191. applyid:
  192. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  193. type: integer
  194. applyremark:
  195. description: 申请备注
  196. type: string
  197. applystatus:
  198. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  199. type: integer
  200. applytime:
  201. description: 申请时间
  202. type: string
  203. attachmenturl:
  204. description: 附件地址
  205. type: string
  206. endtime:
  207. description: 预售结束时间
  208. type: string
  209. goodscode:
  210. description: 商品代码
  211. type: string
  212. goodsid:
  213. description: 商品ID
  214. type: integer
  215. goodsname:
  216. description: 商品名称
  217. type: string
  218. goodunit:
  219. description: 报价单位
  220. type: string
  221. handlestatus:
  222. description: 处理状态
  223. type: integer
  224. marketid:
  225. description: 预售市场ID
  226. type: integer
  227. marketname:
  228. description: 预售市场名称
  229. type: string
  230. presaleqty:
  231. description: 预售数量
  232. type: integer
  233. relatedgoodscode:
  234. description: 关联交易合约代码
  235. type: string
  236. relatedgoodsid:
  237. description: 关联交易合约ID
  238. type: integer
  239. relatedgoodsname:
  240. description: 关联交易合约名称
  241. type: string
  242. starttime:
  243. description: 预售开始时间
  244. type: string
  245. tradedate:
  246. description: 交易日(yyyyMMdd)
  247. type: string
  248. trademode:
  249. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  250. type: integer
  251. userid:
  252. description: 申请人ID
  253. type: integer
  254. required:
  255. - applyid
  256. type: object
  257. cptrade.Cptradeusergoodsdata:
  258. properties:
  259. EnabledQty:
  260. description: 可用量
  261. type: integer
  262. GoodsCode:
  263. description: 订单商品代码
  264. type: string
  265. GoodsName:
  266. description: 订单商品名称
  267. type: string
  268. WRStandardCode:
  269. description: 仓单标准代码
  270. type: string
  271. WRStandardName:
  272. description: 仓单标准名称
  273. type: string
  274. accountid:
  275. description: 账户ID
  276. type: integer
  277. cancelqty:
  278. description: 注销量
  279. type: integer
  280. curpresaleqty:
  281. description: 当前预售量
  282. type: integer
  283. deliveryqty:
  284. description: 交割量
  285. type: integer
  286. freezeamount:
  287. description: 冻结金额
  288. type: number
  289. goodsid:
  290. description: 商品ID
  291. type: integer
  292. goodunit:
  293. description: 报价单位
  294. type: string
  295. hasspotfreeze:
  296. description: 是否有现货冻结 - 0:否 1:有
  297. type: integer
  298. inqty:
  299. description: 转入量(总数量)
  300. type: integer
  301. marketid:
  302. description: 市场ID
  303. type: integer
  304. presaledamount:
  305. description: 已预售总金额
  306. type: integer
  307. presaledqty:
  308. description: 已预售量
  309. type: integer
  310. userid:
  311. description: 用户ID
  312. type: integer
  313. wrstandardid:
  314. description: 仓单标准ID
  315. type: integer
  316. required:
  317. - accountid
  318. - goodsid
  319. type: object
  320. cptrade.QueryCPTradeMyBidRsp:
  321. properties:
  322. accountid:
  323. description: 账户ID[报价币种]
  324. type: integer
  325. goodsid:
  326. description: 商品ID
  327. type: integer
  328. goodunit:
  329. description: 报价单位
  330. type: string
  331. marketid:
  332. description: 市场ID
  333. type: integer
  334. orderid:
  335. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  336. type: integer
  337. orderprice:
  338. description: 委托价格
  339. type: number
  340. orderqty:
  341. description: 委托数量
  342. type: integer
  343. ordertime:
  344. description: 委托时间
  345. type: string
  346. ordertotalprice:
  347. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  348. type: number
  349. ordertotalweight:
  350. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  351. type: integer
  352. totaltotalprice:
  353. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  354. type: number
  355. tradeprice:
  356. description: 成交价格
  357. type: number
  358. tradeqty:
  359. description: 成交数量
  360. type: integer
  361. required:
  362. - accountid
  363. - goodsid
  364. - marketid
  365. - orderid
  366. - orderqty
  367. - ordertime
  368. - tradeprice
  369. - tradeqty
  370. type: object
  371. cptrade.QueryCPTradeOrderDetailRsq:
  372. properties:
  373. accountid:
  374. description: 账户ID[报价币种]
  375. type: integer
  376. buildtype:
  377. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  378. type: integer
  379. buyorsell:
  380. description: 买卖 - 0:买 1:卖
  381. type: integer
  382. cancelorderid:
  383. description: 撤单单号(撤单时填写)
  384. type: integer
  385. cancelqty:
  386. description: 撤单数量
  387. type: integer
  388. clientordertime:
  389. description: 客户端委托时间
  390. type: string
  391. clientticket:
  392. description: 客户端流水号
  393. type: string
  394. clienttype:
  395. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  396. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  397. type: integer
  398. closeexchagechargevalue:
  399. description: 平仓交易所手续费设置值
  400. type: number
  401. closefeealgorithm:
  402. description: 平仓手续费收取方式 1:比率 2:固定
  403. type: integer
  404. closefreezecharge:
  405. description: 平仓冻结手续费(先建后平操作,需要记录)
  406. type: number
  407. closememberchargevalue:
  408. description: 平仓会员手续费设置值
  409. type: number
  410. closeqty:
  411. description: 平仓数量(先建后平操作 需要记录)
  412. type: integer
  413. closetradeqty:
  414. description: 平仓成交数量(先建后平操作,需要记录)
  415. type: integer
  416. closeunfreezecharge:
  417. description: 平仓解冻手续费(先建后平操作,需要记录)
  418. type: number
  419. delistingtype:
  420. description: 摘牌类型 - 1:价格最优 2:点选成交
  421. type: integer
  422. freezecharge:
  423. description: 冻结手续费
  424. type: number
  425. freezemargin:
  426. description: 冻结保证金(冻结交易金额)
  427. type: number
  428. gcaccountid:
  429. description: 账户ID[合约币种]
  430. type: integer
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. isconfirmexercise:
  435. description: 是否确认行权- 0:否 1:是
  436. type: integer
  437. ispreexercise:
  438. description: 是否预申报- 0:否 1:是
  439. type: integer
  440. listingselecttype:
  441. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  442. type: integer
  443. marginalgorithm:
  444. description: 保证金收取方式 1:比率 2:固定
  445. type: integer
  446. marginvalue:
  447. description: 即市保证金设置值
  448. type: number
  449. marketid:
  450. description: 市场ID
  451. type: integer
  452. marketmaxsub:
  453. description: 市价最大偏移范围
  454. type: number
  455. memberuserid:
  456. description: 所属会员UserID
  457. type: integer
  458. openexchagechargevalue:
  459. description: 建仓交易所手续费设置值
  460. type: number
  461. openfeealgorithm:
  462. description: 建仓手续费收取方式 1:比率 2:固定
  463. type: integer
  464. openfreezecharge:
  465. description: 开仓冻结手续费(先建后平操作,需要记录)
  466. type: number
  467. openmemberchargevalue:
  468. description: 建仓会员手续费设置值
  469. type: number
  470. openqty:
  471. description: 开仓数量(先建后平操作,需要记录)
  472. type: integer
  473. opentradeqty:
  474. description: 开仓成交数量(先建后平操作,需要记录)
  475. type: integer
  476. openunfreezecharge:
  477. description: 开仓解冻手续费(先建后平操作,需要记录)
  478. type: number
  479. operatetype:
  480. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  481. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  482. 15:管理端协议转让
  483. type: integer
  484. operatorid:
  485. description: 登录账号(LoginID)
  486. type: integer
  487. optiontype:
  488. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  489. type: integer
  490. orderprice:
  491. description: 委托价格
  492. type: number
  493. orderqty:
  494. description: 委托数量
  495. type: integer
  496. ordersrc:
  497. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  498. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  499. type: integer
  500. orderstatus:
  501. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  502. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  503. 16:成交失败违约(荷兰式竞拍专用)
  504. type: integer
  505. ordertime:
  506. description: 委托时间
  507. type: string
  508. preexerciseprice:
  509. description: 预申报价格
  510. type: number
  511. premium:
  512. description: 权利金
  513. type: number
  514. preorderid:
  515. description: 关联预埋单号(止盈止损单时填写)
  516. type: integer
  517. pricemode:
  518. description: '取价方式 - 1:市价 2: 限价'
  519. type: integer
  520. quoteid:
  521. description: 报价单ID
  522. type: integer
  523. relatedid:
  524. description: 关联单号(交割单)
  525. type: integer
  526. retcode:
  527. description: 错误代码
  528. type: integer
  529. sessionid:
  530. description: 会话ID
  531. type: integer
  532. strorderid:
  533. description: 委托单号
  534. type: string
  535. tradedate:
  536. description: 交易日(yyyyMMdd)
  537. type: string
  538. tradeproperty:
  539. description: 交易属性
  540. type: integer
  541. tradeqty:
  542. description: 成交数量
  543. type: integer
  544. unfreezecharge:
  545. description: 解冻手续费
  546. type: number
  547. unfreezemargin:
  548. description: 解冻保证金
  549. type: number
  550. updatetime:
  551. description: 更新时间
  552. type: string
  553. uuid:
  554. description: 发起端唯一id
  555. type: string
  556. validtime:
  557. description: 有效期限
  558. type: string
  559. validtype:
  560. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  561. type: integer
  562. volumetype:
  563. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  564. type: integer
  565. required:
  566. - accountid
  567. - buildtype
  568. - buyorsell
  569. - goodsid
  570. - marketid
  571. - memberuserid
  572. - operatetype
  573. - orderqty
  574. - ordertime
  575. - pricemode
  576. - strorderid
  577. - tradedate
  578. - validtype
  579. type: object
  580. cptrade.QueryMyCPTradeGoodsRsp:
  581. properties:
  582. accountid:
  583. description: 卖方账户ID
  584. type: integer
  585. agreeunit:
  586. description: 合约单位
  587. type: number
  588. applyid:
  589. description: 关联申请ID
  590. type: integer
  591. attachmenturl:
  592. description: 附件地址
  593. type: string
  594. createtime:
  595. description: 创建时间
  596. type: string
  597. currencyid:
  598. description: 报价货币ID
  599. type: integer
  600. decimalplace:
  601. description: 报价小数位
  602. type: integer
  603. endtime:
  604. description: 预售结束时间
  605. type: string
  606. floorprice:
  607. description: 底价[大宗式竞拍]
  608. type: number
  609. goodscode:
  610. description: 商品代码(预售)
  611. type: string
  612. goodsdetail:
  613. description: 详情[大宗]
  614. type: string
  615. goodsid:
  616. description: 商品ID(自增ID SEQ_GOODS)
  617. type: integer
  618. goodsname:
  619. description: 商品名称(预售)
  620. type: string
  621. goodunit:
  622. description: 报价单位
  623. type: string
  624. goodunitid:
  625. description: 报价单位ID
  626. type: integer
  627. marketid:
  628. description: 所属市场ID
  629. type: integer
  630. marketname:
  631. description: 预售市场名称
  632. type: string
  633. presaledamount:
  634. description: 已预售总金额(预售结束时更新)
  635. type: number
  636. presaledqty:
  637. description: 已预售量(预售结束时更新)
  638. type: integer
  639. presalemode:
  640. description: 预售模式 - 1:一口价 2:大宗式竞拍
  641. type: integer
  642. presaleqty:
  643. description: 预售数量
  644. type: integer
  645. refprice:
  646. description: 参考价格[一口价]
  647. type: number
  648. relatedgoodscode:
  649. description: 商品代码(订单)
  650. type: string
  651. relatedgoodsid:
  652. description: 关联交易合约ID
  653. type: integer
  654. relatedgoodsname:
  655. description: 商品名称(订单)
  656. type: string
  657. relatedmarketid:
  658. description: 关联交易合约市场ID
  659. type: integer
  660. sellstatus:
  661. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  662. type: integer
  663. startprice:
  664. description: 起拍价[大宗式竞拍]
  665. type: number
  666. starttime:
  667. description: 预售开始时间
  668. type: string
  669. tradedate:
  670. description: 交易日(yyyyMMdd)
  671. type: string
  672. tradeprice:
  673. description: 成交价[大宗]
  674. type: number
  675. userid:
  676. description: 卖方用户ID
  677. type: integer
  678. required:
  679. - goodscode
  680. - goodsid
  681. - goodsname
  682. - marketid
  683. - relatedgoodscode
  684. - relatedgoodsname
  685. type: object
  686. cptrade.QueryPresaleGoodsExRsp:
  687. properties:
  688. attachmenturl:
  689. description: 附件地址
  690. type: string
  691. createtime:
  692. description: 创建时间
  693. type: string
  694. endtime:
  695. description: 预售结束时间
  696. type: string
  697. floorprice:
  698. description: 底价[大宗式竞拍]
  699. type: number
  700. goodsdetail:
  701. description: 详情[大宗]
  702. type: string
  703. goodsid:
  704. description: 商品ID(预售)
  705. type: integer
  706. goodunit:
  707. description: 报价单位
  708. type: string
  709. marketid:
  710. description: 预售市场ID - 根据预售模式选择市场
  711. type: integer
  712. presaledamount:
  713. description: 已预售总金额(预售结束时更新)
  714. type: number
  715. presaledqty:
  716. description: 已预售量(预售结束时更新)
  717. type: integer
  718. presalemode:
  719. description: 预售模式 - 1:一口价 2:大宗式竞拍
  720. type: integer
  721. presaleqty:
  722. description: 预售数量
  723. type: integer
  724. refprice:
  725. description: 参考价格[一口价]
  726. type: number
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedmarketid:
  731. description: 关联交易合约市场ID
  732. type: integer
  733. sellstatus:
  734. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  735. type: integer
  736. startprice:
  737. description: 起拍价[大宗式竞拍]
  738. type: number
  739. starttime:
  740. description: 预售开始时间
  741. type: string
  742. tradedate:
  743. description: 交易日(yyyyMMdd)
  744. type: string
  745. tradeprice:
  746. description: 成交价[大宗]
  747. type: number
  748. required:
  749. - goodsid
  750. type: object
  751. delivery.QueryDeliveryRelationRsp:
  752. properties:
  753. begindate:
  754. description: 起始日期(yyyyMMdd)
  755. type: string
  756. buytemplateid:
  757. description: 买履约计划模板ID
  758. type: integer
  759. deliverygoodscode:
  760. description: 品种代码
  761. type: string
  762. deliverygoodsid:
  763. description: 交割商品
  764. type: integer
  765. deliverygoodsname:
  766. description: 品种名称
  767. type: string
  768. deliverymode:
  769. description: 交割方式 - 1:点选式 2:申报式
  770. type: integer
  771. deliverypricerule:
  772. description: 交割价规则- 1:行情价 2:建仓价
  773. type: integer
  774. deliverytype:
  775. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  776. type: integer
  777. enddate:
  778. description: 结束日期(yyyyMMdd)
  779. type: string
  780. goodscode:
  781. description: 商品代码
  782. type: string
  783. goodsid:
  784. description: 交易合约ID
  785. type: integer
  786. goodsname:
  787. description: 商品名称
  788. type: string
  789. marketid:
  790. description: 市场ID
  791. type: integer
  792. mindeliveryqty:
  793. description: 最小交割系数(K)
  794. type: integer
  795. p2deliveryprice:
  796. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  797. type: number
  798. p2deliveryratio:
  799. description: P2合约系数(p)
  800. type: integer
  801. p2goodsid:
  802. description: P2合约ID
  803. type: integer
  804. p2pricemode:
  805. description: P2合约价格方式 - 1:商品价 2:固定值
  806. type: integer
  807. pdeliveryprice:
  808. description: P合约价格(商品价时填写0,固定值时填写固定值)
  809. type: number
  810. pdeliveryratio:
  811. description: P合约系数(n)
  812. type: integer
  813. pgoodsid:
  814. description: P合约ID
  815. type: integer
  816. ppricemode:
  817. description: P合约价格方式 - 1:商品价 2:固定值
  818. type: integer
  819. rratio:
  820. description: 兑换系数(R)
  821. type: integer
  822. rratio1:
  823. description: 兑换系数(交易合约)(R1)
  824. type: integer
  825. rratio2:
  826. description: 兑换系数(仓单标准)(R2)
  827. type: integer
  828. selltemplateid:
  829. description: 卖履约计划模板ID
  830. type: integer
  831. wrstandardid:
  832. description: 仓单标准ID
  833. type: integer
  834. xdeliveryratio:
  835. description: 交易合约系数(m)
  836. type: integer
  837. required:
  838. - begindate
  839. - enddate
  840. - goodsid
  841. - mindeliveryqty
  842. - xdeliveryratio
  843. type: object
  844. ermcp.QryBusinessDjRsp:
  845. properties:
  846. applyid:
  847. description: 申请人
  848. type: string
  849. applyname:
  850. description: 申请人名称
  851. type: string
  852. applystatus:
  853. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  854. type: integer
  855. applytime:
  856. description: 申请时间
  857. type: string
  858. auditname:
  859. description: 审核人名称
  860. type: string
  861. audittime:
  862. description: 审核时间
  863. type: string
  864. buyusername:
  865. description: 采购方名称
  866. type: string
  867. contractno:
  868. description: 合同编号
  869. type: string
  870. contracttype:
  871. description: 现货合同类型 - 1:采购 -1:销售
  872. type: integer
  873. enumdicname:
  874. description: 单位名称
  875. type: string
  876. goodscode:
  877. description: 点价合约
  878. type: string
  879. goodsname:
  880. description: 商品名称
  881. type: string
  882. operateapplyid:
  883. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  884. type: string
  885. operateapplytype:
  886. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  887. type: integer
  888. pricedPrice:
  889. description: 点价价格(非必填)
  890. type: number
  891. pricedQty:
  892. description: 点价数量(非必填)
  893. type: number
  894. pricemove:
  895. description: 升贴水
  896. type: number
  897. pricetype:
  898. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  899. type: integer
  900. relatedid:
  901. description: 现货合同ID
  902. type: string
  903. sellusername:
  904. description: 销售方名字
  905. type: string
  906. type: object
  907. ermcp.QryBussinessFpRsp:
  908. properties:
  909. applyid:
  910. description: 申请人
  911. type: string
  912. applyname:
  913. description: 申请人名称
  914. type: string
  915. applystatus:
  916. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  917. type: integer
  918. applytime:
  919. description: 申请时间
  920. type: string
  921. auditname:
  922. description: 审核人名称
  923. type: string
  924. audittime:
  925. description: 审核时间
  926. type: string
  927. buyusername:
  928. description: 采购方名称
  929. type: string
  930. contractno:
  931. description: 合同编号
  932. type: string
  933. contracttype:
  934. description: 现货合同类型 - 1:采购 -1:销售
  935. type: integer
  936. enumdicname:
  937. description: 单位名称
  938. type: string
  939. goodscode:
  940. description: 点价合约
  941. type: string
  942. goodsname:
  943. description: 商品名称
  944. type: string
  945. invoiceAmount:
  946. description: 已开收票金额(销售为开票,采购为收票)
  947. type: number
  948. operateapplyid:
  949. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  950. type: string
  951. operateapplytype:
  952. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  953. type: integer
  954. pricemove:
  955. description: 升贴水
  956. type: number
  957. pricetype:
  958. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  959. type: integer
  960. relatedid:
  961. description: 现货合同ID
  962. type: string
  963. sellusername:
  964. description: 销售方名字
  965. type: string
  966. type: object
  967. ermcp.QryBussinessJsRsp:
  968. properties:
  969. addmargin:
  970. description: 追加保证金(非必填)
  971. type: number
  972. applyid:
  973. description: 申请人
  974. type: string
  975. applyname:
  976. description: 申请人名称
  977. type: string
  978. applystatus:
  979. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  980. type: integer
  981. applytime:
  982. description: 申请时间
  983. type: string
  984. auditname:
  985. description: 审核人名称
  986. type: string
  987. audittime:
  988. description: 审核时间
  989. type: string
  990. buyusername:
  991. description: 采购方名称
  992. type: string
  993. contractno:
  994. description: 合同编号
  995. type: string
  996. contracttype:
  997. description: 现货合同类型 - 1:采购 -1:销售
  998. type: integer
  999. decmargin:
  1000. description: 减少保证金(非必填)
  1001. type: number
  1002. enumdicname:
  1003. description: 单位名称
  1004. type: string
  1005. goodscode:
  1006. description: 点价合约
  1007. type: string
  1008. goodsname:
  1009. description: 商品名称
  1010. type: string
  1011. operateapplyid:
  1012. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1013. type: string
  1014. operateapplytype:
  1015. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1016. type: integer
  1017. pricemove:
  1018. description: 升贴水
  1019. type: number
  1020. pricetype:
  1021. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1022. type: integer
  1023. reckonadjustamount:
  1024. description: 结算调整金额(非必填)
  1025. type: number
  1026. reckonosamount:
  1027. description: 结算溢短金额(非必填)
  1028. type: number
  1029. reckonotheramount:
  1030. description: 结算其他费用(非必填)
  1031. type: number
  1032. reckonrealqty:
  1033. description: 结算实际数量(非必填)
  1034. type: number
  1035. relatedid:
  1036. description: 现货合同ID
  1037. type: string
  1038. sellusername:
  1039. description: 销售方名字
  1040. type: string
  1041. type: object
  1042. ermcp.QryBussinessKxRsp:
  1043. properties:
  1044. applyid:
  1045. description: 申请人
  1046. type: string
  1047. applyname:
  1048. description: 申请人名称
  1049. type: string
  1050. applystatus:
  1051. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1052. type: integer
  1053. applytime:
  1054. description: 申请时间
  1055. type: string
  1056. auditname:
  1057. description: 审核人名称
  1058. type: string
  1059. audittime:
  1060. description: 审核时间
  1061. type: string
  1062. buyusername:
  1063. description: 采购方名称
  1064. type: string
  1065. contractno:
  1066. description: 合同编号
  1067. type: string
  1068. contracttype:
  1069. description: 现货合同类型 - 1:采购 -1:销售
  1070. type: integer
  1071. deductamount:
  1072. description: 退款(非必填)
  1073. type: number
  1074. enumdicname:
  1075. description: 单位名称
  1076. type: string
  1077. goodscode:
  1078. description: 点价合约
  1079. type: string
  1080. goodsname:
  1081. description: 商品名称
  1082. type: string
  1083. operateapplyid:
  1084. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1085. type: string
  1086. operateapplytype:
  1087. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1088. type: integer
  1089. payamount:
  1090. description: 收付款(非必填)
  1091. type: number
  1092. pricemove:
  1093. description: 升贴水
  1094. type: number
  1095. pricetype:
  1096. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1097. type: integer
  1098. relatedid:
  1099. description: 现货合同ID
  1100. type: string
  1101. sellusername:
  1102. description: 销售方名字
  1103. type: string
  1104. type: object
  1105. ermcp.QryErmcpRsp:
  1106. $ref: '#/definitions/models.ErmcpModel'
  1107. ermcp.QryHedgePlanRsp:
  1108. $ref: '#/definitions/models.ErmcpHedgePlan'
  1109. ermcp.QrySpotContractRsp:
  1110. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1111. ermcp.QryUserInfoRsp:
  1112. $ref: '#/definitions/models.ErmcpUserModel'
  1113. ermcp.QryWrStandardRsp:
  1114. $ref: '#/definitions/models.ErmcpWrstandard'
  1115. erms2.QueryArbitrageStrategyRsp:
  1116. properties:
  1117. applybasis:
  1118. description: 申请基差
  1119. type: number
  1120. asapplyid:
  1121. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1122. type: string
  1123. asname:
  1124. description: 策略名称
  1125. type: string
  1126. asno:
  1127. description: 策略编号
  1128. type: string
  1129. basischangepl:
  1130. description: 基差变动损益[结算更新]
  1131. type: number
  1132. biztype:
  1133. description: 业务类型 - 1:正向套利 -1:反向套利
  1134. type: integer
  1135. closetradedate:
  1136. description: 完结交易日(yyyyMMdd)
  1137. type: string
  1138. curbasis:
  1139. description: 当前基差[结算更新]
  1140. type: number
  1141. deliverygoodsid:
  1142. description: 现货品种ID
  1143. type: integer
  1144. futureavgprice:
  1145. description: 期货建仓均价
  1146. type: number
  1147. futurecloseamount:
  1148. description: 期货平仓金额
  1149. type: number
  1150. futurecloseqty:
  1151. description: 期货平仓数量
  1152. type: number
  1153. futureopenamount:
  1154. description: 期货开仓金额
  1155. type: number
  1156. futureopenqty:
  1157. description: 期货开仓数量
  1158. type: number
  1159. futurepl:
  1160. description: 期货总盈亏[结算更新]
  1161. type: number
  1162. futureqty:
  1163. description: 期货持仓数量
  1164. type: number
  1165. futurequote:
  1166. description: 期货额度
  1167. type: number
  1168. goodsgroupid:
  1169. description: 期货品种ID
  1170. type: integer
  1171. marketid:
  1172. description: 市场ID
  1173. type: integer
  1174. netexposure:
  1175. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1176. type: number
  1177. netexposurepl:
  1178. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1179. type: number
  1180. netexposurerate:
  1181. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1182. type: number
  1183. openbasis:
  1184. description: 建仓基差
  1185. type: number
  1186. pricedspotqty:
  1187. description: 已定价现货数量
  1188. type: number
  1189. pricedspotqtynotax:
  1190. description: 已定价现货不含税数量
  1191. type: number
  1192. remark:
  1193. description: 备注
  1194. type: string
  1195. spotavgprice:
  1196. description: 现货均价
  1197. type: number
  1198. spotbuyamount:
  1199. description: 现货采购金额
  1200. type: number
  1201. spotbuyqty:
  1202. description: 现货采购数量
  1203. type: number
  1204. spotpl:
  1205. description: 现货总盈亏[结算更新]
  1206. type: number
  1207. spotquota:
  1208. description: 现货额度
  1209. type: number
  1210. spotsellamount:
  1211. description: 现货销售金额
  1212. type: number
  1213. spotsellqty:
  1214. description: 现货销售数量
  1215. type: number
  1216. spotusedquota:
  1217. description: 现货占用资金
  1218. type: number
  1219. strategystatus:
  1220. description: 策略状态 - 0:未结束 1:已结束
  1221. type: integer
  1222. totalpl:
  1223. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1224. type: number
  1225. tradedate:
  1226. description: 交易日(yyyyMMdd)
  1227. type: string
  1228. updatetime:
  1229. description: 更新时间
  1230. type: string
  1231. usedquota:
  1232. description: 已占用资金
  1233. type: number
  1234. userid:
  1235. description: 所属机构
  1236. type: integer
  1237. required:
  1238. - asapplyid
  1239. type: object
  1240. erms2.QueryInnerTradeDetailRsp:
  1241. properties:
  1242. accountid:
  1243. description: 账号ID
  1244. type: integer
  1245. agreeunit:
  1246. description: 合约单位
  1247. type: number
  1248. asapplyid:
  1249. description: 策略申请ID
  1250. type: integer
  1251. asname:
  1252. description: 策略名称
  1253. type: string
  1254. asno:
  1255. description: 策略编号
  1256. type: string
  1257. buyorsell:
  1258. description: 方向 - 0:买 1:卖
  1259. type: integer
  1260. channelbuildtype:
  1261. description: 委托单据类型 0:无 1:建仓 2:平仓
  1262. type: integer
  1263. closetype:
  1264. description: 平仓方式 - 0:无 1:平今 2:平昨
  1265. type: integer
  1266. decimalplace:
  1267. description: 报价小数位
  1268. type: integer
  1269. detailtype:
  1270. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1271. type: integer
  1272. exexchangecode:
  1273. description: 外部交易所代码
  1274. type: string
  1275. exexchangename:
  1276. description: 外部交易所名称
  1277. type: string
  1278. goodscode:
  1279. description: 商品代码(合约)
  1280. type: string
  1281. goodsgroupid:
  1282. description: 商品组ID(品种ID)
  1283. type: integer
  1284. goodsgroupname:
  1285. description: 商品组名称(品种)
  1286. type: string
  1287. goodsid:
  1288. description: 商品ID
  1289. type: integer
  1290. goodsname:
  1291. description: 商品名称(合约)
  1292. type: string
  1293. goodunit:
  1294. description: 报价单位
  1295. type: string
  1296. marketid:
  1297. description: 市场ID
  1298. type: integer
  1299. orderid:
  1300. description: 委托单号
  1301. type: string
  1302. outgoodscode:
  1303. description: 商品代码(外部)
  1304. type: string
  1305. relatedouttradeid:
  1306. description: 关联外部成交单ID
  1307. type: string
  1308. remark:
  1309. description: 备注
  1310. type: string
  1311. spotcontractid:
  1312. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1313. type: integer
  1314. spotcontractno:
  1315. description: 现货合同编号
  1316. type: string
  1317. tradeid:
  1318. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1319. type: string
  1320. tradeprice:
  1321. description: 成交价格
  1322. type: number
  1323. tradeqty:
  1324. description: 成交数量
  1325. type: integer
  1326. tradetime:
  1327. description: 成交时间
  1328. type: string
  1329. updatetime:
  1330. description: 更新时间
  1331. type: string
  1332. required:
  1333. - asapplyid
  1334. - buyorsell
  1335. - goodscode
  1336. - goodsgroupid
  1337. - goodsgroupname
  1338. - goodsname
  1339. - tradeid
  1340. type: object
  1341. erms2.QuerySpotContractRsp:
  1342. properties:
  1343. accountid:
  1344. description: 资金账户ID
  1345. type: integer
  1346. areauserid:
  1347. description: 所属机构
  1348. type: integer
  1349. closedate:
  1350. description: 终止日期
  1351. type: string
  1352. closeremark:
  1353. description: 结束备注
  1354. type: string
  1355. closetradedate:
  1356. description: 完结交易日(yyyyMMdd)
  1357. type: string
  1358. closetype:
  1359. description: 终止类型 - 1:违约 2:提前终止
  1360. type: integer
  1361. contractamount:
  1362. description: 合同金额
  1363. type: number
  1364. contractattachment:
  1365. description: 合同附件
  1366. type: string
  1367. contractno:
  1368. description: 现货合同编号
  1369. type: string
  1370. contractqty:
  1371. description: 合同数量(数值) (用于计算)
  1372. type: number
  1373. contractqtychar:
  1374. description: 合同数量\已订价数量 (用于显示)
  1375. type: string
  1376. contractstatus:
  1377. description: 合同状态 - 0:未结束 1:已结束
  1378. type: integer
  1379. contracttype:
  1380. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1381. type: integer
  1382. customeraccountid:
  1383. description: 客户资金账户ID
  1384. type: integer
  1385. customeruserid:
  1386. description: 客户ID
  1387. type: integer
  1388. deliverygoodsdesc:
  1389. description: 品种说明
  1390. type: string
  1391. deliverygoodsid:
  1392. description: 现货品种ID
  1393. type: integer
  1394. handlestatus:
  1395. description: 处理状态
  1396. type: integer
  1397. invoiceatt:
  1398. description: 发票附件
  1399. type: string
  1400. invoicedatetime:
  1401. description: 开收票更新时间
  1402. type: string
  1403. invoiceopentime:
  1404. description: 开票时间
  1405. type: string
  1406. invoiceremark:
  1407. description: 发票备注
  1408. type: string
  1409. invoicestatus:
  1410. description: 开收票状态 - 0:未开票 1:已开票
  1411. type: integer
  1412. lastdate:
  1413. description: 交货时间
  1414. type: string
  1415. marketid:
  1416. description: 市场ID
  1417. type: integer
  1418. paydatetime:
  1419. description: 收付款更新时间
  1420. type: string
  1421. payremark:
  1422. description: 收付款备注
  1423. type: string
  1424. paystatus:
  1425. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1426. type: integer
  1427. positionqty:
  1428. description: 头寸数量 - 合同数量去小数部分
  1429. type: integer
  1430. producttype:
  1431. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1432. type: integer
  1433. relatedqty:
  1434. description: 已关联数量
  1435. type: number
  1436. relatedstatus:
  1437. description: 关联完结状态 - 0:未结束 1:已结束
  1438. type: integer
  1439. remark:
  1440. description: 备注
  1441. type: string
  1442. signdate:
  1443. description: 签订日期
  1444. type: string
  1445. spotcontractid:
  1446. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1447. type: string
  1448. spotdatetime:
  1449. description: 收发货更新时间
  1450. type: string
  1451. spotprice:
  1452. description: 价格
  1453. type: number
  1454. spotremark:
  1455. description: 收发货备注
  1456. type: string
  1457. spotstatus:
  1458. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1459. type: integer
  1460. tradedate:
  1461. description: 交易日(yyyyMMdd)
  1462. type: string
  1463. userid:
  1464. description: 业务员用户ID
  1465. type: integer
  1466. warehouseid:
  1467. description: 仓库ID
  1468. type: integer
  1469. wrfactortypeid:
  1470. description: 仓单要素类型ID
  1471. type: integer
  1472. wrstandardid:
  1473. description: 仓单标准ID(SEQ_WRSTANDARD)
  1474. type: integer
  1475. required:
  1476. - spotcontractid
  1477. type: object
  1478. erms3.AddErms2ASApplyReq:
  1479. properties:
  1480. applybasis:
  1481. description: 申请基差
  1482. type: number
  1483. applystatus:
  1484. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1485. type: integer
  1486. asapplyid:
  1487. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1488. type: integer
  1489. asname:
  1490. description: 策略名称
  1491. type: string
  1492. asno:
  1493. description: 策略编号
  1494. type: string
  1495. auditid:
  1496. description: 审核人
  1497. type: integer
  1498. auditremark:
  1499. description: 审核备注
  1500. type: string
  1501. audittime:
  1502. description: 审核时间
  1503. type: string
  1504. biztype:
  1505. description: 业务类型 - 1:正向套利 2:反向套利
  1506. type: integer
  1507. createtime:
  1508. description: 创建时间
  1509. type: string
  1510. creatorid:
  1511. description: 创建人
  1512. type: integer
  1513. deliverygoodsid:
  1514. description: 现货品种ID
  1515. type: integer
  1516. futurequote:
  1517. description: 期货额度
  1518. type: number
  1519. goodsgroupid:
  1520. description: 期货品种ID
  1521. type: integer
  1522. marketid:
  1523. description: 市场ID
  1524. type: integer
  1525. remark:
  1526. description: 备注
  1527. type: string
  1528. spotquota:
  1529. description: 现货额度
  1530. type: number
  1531. tradedate:
  1532. description: 交易日(yyyyMMdd)
  1533. type: string
  1534. userid:
  1535. description: 所属机构
  1536. type: integer
  1537. required:
  1538. - asapplyid
  1539. type: object
  1540. erms3.AddErms2SpotTradeApplyReq:
  1541. properties:
  1542. applyjsondetail:
  1543. description: 申请明细(JSON)
  1544. type: string
  1545. applystatus:
  1546. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1547. type: integer
  1548. areauserid:
  1549. description: 所属机构
  1550. type: integer
  1551. auditid:
  1552. description: 审核人
  1553. type: integer
  1554. auditremark:
  1555. description: 审核备注
  1556. type: string
  1557. audittime:
  1558. description: 审核时间
  1559. type: string
  1560. createtime:
  1561. description: 创建时间
  1562. type: string
  1563. creatorid:
  1564. description: 创建人
  1565. type: integer
  1566. deliverygoodsid:
  1567. description: 现货品种ID
  1568. type: integer
  1569. futureaccountid:
  1570. description: 期货资金账户
  1571. type: integer
  1572. goodsgroupid:
  1573. description: 期货品种
  1574. type: integer
  1575. marketid:
  1576. description: 市场ID
  1577. type: integer
  1578. remark:
  1579. description: 备注
  1580. type: string
  1581. spotaccountid:
  1582. description: 现货资金账户
  1583. type: integer
  1584. spottradeid:
  1585. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1586. type: integer
  1587. spottradename:
  1588. description: 业务名称
  1589. type: string
  1590. spottradeno:
  1591. description: 业务编号
  1592. type: string
  1593. tradedate:
  1594. description: 交易日(yyyyMMdd)
  1595. type: string
  1596. wrstandardid:
  1597. description: 仓单标准ID
  1598. type: integer
  1599. required:
  1600. - spottradeid
  1601. type: object
  1602. erms3.AddSpotContractApplyReq:
  1603. properties:
  1604. accountid:
  1605. description: 资金账户ID
  1606. type: integer
  1607. areauserid:
  1608. description: 所属机构
  1609. type: integer
  1610. contractattachment:
  1611. description: 合同附件
  1612. type: string
  1613. contractno:
  1614. description: 现货合同编号
  1615. type: string
  1616. contracttype:
  1617. description: 现货合同类型 - 1:采购 -1:销售
  1618. type: integer
  1619. creatorid:
  1620. description: 申请人
  1621. type: integer
  1622. customeraccountid:
  1623. description: 客户资金账户ID
  1624. type: integer
  1625. customeruserid:
  1626. description: 客户ID
  1627. type: integer
  1628. details:
  1629. description: 明细
  1630. items:
  1631. $ref: '#/definitions/erms3.SoptContractDetail'
  1632. type: array
  1633. orimargin:
  1634. description: 初始保证金
  1635. type: number
  1636. remark:
  1637. description: 备注
  1638. type: string
  1639. signdate:
  1640. description: 签订日期
  1641. type: string
  1642. required:
  1643. - accountid
  1644. - areauserid
  1645. - contractno
  1646. - contracttype
  1647. - customeraccountid
  1648. - customeruserid
  1649. - details
  1650. - orimargin
  1651. - signdate
  1652. type: object
  1653. erms3.AddSpotContractApplyRsp:
  1654. properties:
  1655. contractno:
  1656. description: 现货合同编号
  1657. type: string
  1658. spotcontractid:
  1659. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1660. type: integer
  1661. required:
  1662. - contractno
  1663. type: object
  1664. erms3.AddUserInfoApplyReq:
  1665. properties:
  1666. accountid:
  1667. description: 交易系统帐号Id (加密存储)
  1668. type: integer
  1669. areacode:
  1670. description: 机构代码
  1671. type: string
  1672. areaid:
  1673. description: 机构Id
  1674. type: integer
  1675. attachment1:
  1676. description: 附件1
  1677. type: string
  1678. attachment2:
  1679. description: 附件2
  1680. type: string
  1681. attachment3:
  1682. description: 附件3
  1683. type: string
  1684. attachment4:
  1685. description: 附件4
  1686. type: string
  1687. attachment5:
  1688. description: 附件5
  1689. type: string
  1690. auditedby:
  1691. description: 审核人
  1692. type: string
  1693. auditime:
  1694. description: 审核时间
  1695. type: string
  1696. bankaccount:
  1697. description: 银行帐号 (加密存储)
  1698. type: string
  1699. bankaccountname:
  1700. description: 收款人名称
  1701. type: string
  1702. bankcardbackphotourl:
  1703. description: 银行卡背面照地址
  1704. type: string
  1705. bankcardfrontphotourl:
  1706. description: 银行卡正面照地址
  1707. type: string
  1708. bankid:
  1709. description: 银行编码
  1710. type: string
  1711. bankname:
  1712. description: 银行名称
  1713. type: string
  1714. bankpictureurl:
  1715. description: 银行卡正面地址
  1716. type: string
  1717. biznature:
  1718. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1719. type: integer
  1720. bizscope:
  1721. description: 企业经营范围(企业)
  1722. type: string
  1723. biztype:
  1724. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1725. type: integer
  1726. brokerid:
  1727. description: 经纪人ID(加密存储)
  1728. type: string
  1729. cardaddress:
  1730. description: 证件地址 (加密存储)
  1731. type: string
  1732. cardbackphotourl:
  1733. description: 背面证件照地址
  1734. type: string
  1735. cardfrontphotourl:
  1736. description: 正面证件照地址
  1737. type: string
  1738. cardnum:
  1739. description: 证件号码 (加密存储)
  1740. type: string
  1741. cardtype:
  1742. description: 证件类型
  1743. type: integer
  1744. cityid:
  1745. description: 市
  1746. type: integer
  1747. company:
  1748. description: 公司(个人)
  1749. type: string
  1750. contactcardbackphotourl:
  1751. description: 联系人证件背面图片地址
  1752. type: string
  1753. contactcardfrontphotourl:
  1754. description: 联系人证件正面图片地址
  1755. type: string
  1756. contactname:
  1757. description: 联系人
  1758. type: string
  1759. countryid:
  1760. description: 国家
  1761. type: integer
  1762. createtime:
  1763. description: 开户申请时间
  1764. type: string
  1765. cusbankid:
  1766. description: 签约类型
  1767. type: string
  1768. cusbankname:
  1769. description: 签约类型名称
  1770. type: string
  1771. customername:
  1772. description: 客户名称(企业名称)
  1773. type: string
  1774. districtid:
  1775. description: 地区
  1776. type: integer
  1777. email:
  1778. description: Email地址(加密存储)
  1779. type: string
  1780. halfbodyphotourl:
  1781. description: 半身照地址
  1782. type: string
  1783. headurl:
  1784. description: 头像地址
  1785. type: string
  1786. ipaddress:
  1787. description: IP地址
  1788. type: string
  1789. isvalidate:
  1790. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1791. type: string
  1792. legalcardbackphotourl:
  1793. description: 法人身份证背面照地址
  1794. type: string
  1795. legalcardfrontphotourl:
  1796. description: 法人身份证正面照地址
  1797. type: string
  1798. legalpersonname:
  1799. description: 法人姓名(企业)
  1800. type: string
  1801. logincode:
  1802. description: 登录帐号 (加密存储)
  1803. type: string
  1804. memberareaid:
  1805. description: 所属会员ID
  1806. type: integer
  1807. mobile2:
  1808. description: 手机号码[明文-尚志]
  1809. type: string
  1810. mobilephone:
  1811. description: 手机号码 (加密存储)
  1812. type: string
  1813. modifiedby:
  1814. description: 修改人帐号
  1815. type: integer
  1816. modifiedtime:
  1817. description: 修改时间
  1818. type: string
  1819. nickname:
  1820. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1821. type: string
  1822. openmode:
  1823. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1824. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1825. type: integer
  1826. otherurl:
  1827. description: 其它图片地址[使用分号分隔]
  1828. type: string
  1829. postalcode:
  1830. description: 邮政编码
  1831. type: string
  1832. provinceid:
  1833. description: 省
  1834. type: integer
  1835. proxystatementurl:
  1836. description: 授权委托书
  1837. type: string
  1838. qq:
  1839. description: QQ(加密存储
  1840. type: string
  1841. referral:
  1842. description: 推荐人编码
  1843. type: string
  1844. remark:
  1845. description: 备注
  1846. type: string
  1847. removebeforestatus:
  1848. description: REMOVEBEFORESTATUS
  1849. type: integer
  1850. sex:
  1851. description: 性别 - 0:女 1:男
  1852. type: integer
  1853. signedstatus:
  1854. description: 账户一号签签约状态
  1855. type: integer
  1856. signpdfurl:
  1857. description: 签约pdf文件
  1858. type: string
  1859. subbranch:
  1860. description: 开户支行
  1861. type: string
  1862. telphone:
  1863. description: 联系电话(加密存储)
  1864. type: string
  1865. userid:
  1866. description: 用户ID(自增ID)
  1867. type: integer
  1868. userinfotype:
  1869. description: 用户信息类型 - 1:个人 2:企业
  1870. type: integer
  1871. username:
  1872. description: 用户姓名
  1873. type: string
  1874. userstate:
  1875. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1876. type: integer
  1877. usertype:
  1878. description: 用户类型 - 1:投资者 2:机构
  1879. type: integer
  1880. videourl:
  1881. description: 视频地址
  1882. type: string
  1883. wechat:
  1884. description: 微信号 (加密存储)
  1885. type: string
  1886. required:
  1887. - userid
  1888. type: object
  1889. erms3.CustomerInfo:
  1890. properties:
  1891. accountids:
  1892. description: 资金账户ID列表
  1893. items:
  1894. type: integer
  1895. type: array
  1896. customername:
  1897. description: 名称(企业名称)
  1898. type: string
  1899. mobile:
  1900. description: 手机号码
  1901. type: string
  1902. userid:
  1903. description: 用户ID
  1904. type: integer
  1905. required:
  1906. - userid
  1907. type: object
  1908. erms3.QryAuditContractRsp:
  1909. properties:
  1910. accountid:
  1911. description: 交易员ID
  1912. type: string
  1913. applystatus:
  1914. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1915. type: integer
  1916. curdeliveryqty:
  1917. description: 未交收量
  1918. type: integer
  1919. customername:
  1920. description: 采购方ID
  1921. type: string
  1922. deliverygoodsid:
  1923. description: 品种ID
  1924. type: string
  1925. deliveryqty:
  1926. description: 交收量
  1927. type: integer
  1928. enumdicname:
  1929. description: 单位名称
  1930. type: string
  1931. matchaccountid:
  1932. description: 业务员ID
  1933. type: string
  1934. matchcustomername:
  1935. description: 销售方ID
  1936. type: string
  1937. pricedqty:
  1938. description: 定价量
  1939. type: number
  1940. signdate:
  1941. description: 签订日期
  1942. type: string
  1943. spotcontractid:
  1944. description: 合同ID
  1945. type: string
  1946. totaldqty:
  1947. description: 合同量
  1948. type: number
  1949. unpricedqty:
  1950. description: 未定价量
  1951. type: number
  1952. wrstandardname:
  1953. description: 商品名称
  1954. type: string
  1955. required:
  1956. - matchcustomername
  1957. - spotcontractid
  1958. type: object
  1959. erms3.QryPendingBizRsp:
  1960. $ref: '#/definitions/models.PendingAuditBizModel'
  1961. erms3.QueryBusinessInfoRsp:
  1962. properties:
  1963. businessid:
  1964. description: 业务ID.
  1965. type: integer
  1966. buyamount:
  1967. description: 采购额.
  1968. type: number
  1969. buyqty:
  1970. description: 采购量.
  1971. type: string
  1972. futurepl:
  1973. description: 期货盈亏.
  1974. type: number
  1975. futureqty:
  1976. description: 期货敞口.
  1977. type: string
  1978. goodsid:
  1979. description: 商品名称/商品代码.
  1980. type: string
  1981. hedgingqty:
  1982. description: 套保量.
  1983. type: string
  1984. sellamount:
  1985. description: 销售额.
  1986. type: number
  1987. sellqty:
  1988. description: 销售量.
  1989. type: string
  1990. spotmarketvalue:
  1991. description: 现货市值.
  1992. type: number
  1993. spotpl:
  1994. description: 浮动权益.
  1995. type: number
  1996. spotqty:
  1997. description: 现货量.
  1998. type: string
  1999. statu:
  2000. description: 状态,0-未结束 1-已结束.
  2001. type: integer
  2002. totalpl:
  2003. description: 总盈亏.
  2004. type: number
  2005. totalqty:
  2006. description: 总敞口.
  2007. type: string
  2008. type:
  2009. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2010. type: integer
  2011. type: object
  2012. erms3.QuerySpotContractAppleFormRsp:
  2013. properties:
  2014. goodses:
  2015. description: 合约列表
  2016. items:
  2017. $ref: '#/definitions/models.GoodsIDAndName'
  2018. type: array
  2019. oppositeusers:
  2020. description: 对方账号列表
  2021. items:
  2022. $ref: '#/definitions/erms3.CustomerInfo'
  2023. type: array
  2024. ouruser:
  2025. $ref: '#/definitions/erms3.CustomerInfo'
  2026. description: 我方账号
  2027. type: object
  2028. warehouseinfos:
  2029. description: 仓库信息列表
  2030. items:
  2031. $ref: '#/definitions/models.Warehouseinfo'
  2032. type: array
  2033. wrstandards:
  2034. description: 仓单标准列表
  2035. items:
  2036. $ref: '#/definitions/models.WRStandardInfo'
  2037. type: array
  2038. type: object
  2039. erms3.QuerySpotContractInfoRsp:
  2040. properties:
  2041. accountid:
  2042. description: 表示交易员ID.
  2043. type: integer
  2044. curdeliveryqty:
  2045. description: 表示未交收量.
  2046. type: number
  2047. customername:
  2048. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2049. type: string
  2050. deliverygoodsid:
  2051. description: 表示品种ID.
  2052. type: string
  2053. deliveryqty:
  2054. description: 表示交收量.
  2055. type: number
  2056. matchaccountid:
  2057. description: 表示业务员ID.
  2058. type: integer
  2059. matchcustomername:
  2060. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2061. type: string
  2062. priceqty:
  2063. description: 表示定价量.
  2064. type: number
  2065. relatedbizid:
  2066. description: 表示业务ID.
  2067. type: string
  2068. signdate:
  2069. description: 表示签订日期.
  2070. type: string
  2071. spotcontractid:
  2072. description: 合同ID
  2073. type: string
  2074. status:
  2075. description: 表示状态,0-履约中 1-已完成.
  2076. type: integer
  2077. totalqty:
  2078. description: 表示合同量.
  2079. type: number
  2080. unpricedqty:
  2081. description: 表示未定价量.
  2082. type: number
  2083. wrstandardname:
  2084. description: 表示商品ID.
  2085. type: string
  2086. type: object
  2087. erms3.QueryUserInfoAppliesRsp:
  2088. properties:
  2089. biznature:
  2090. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2091. type: integer
  2092. contactname:
  2093. description: 联系人
  2094. type: string
  2095. createtime:
  2096. description: 开户申请时间
  2097. type: string
  2098. userid:
  2099. description: 用户ID(自增ID)
  2100. type: integer
  2101. userinfotype:
  2102. description: 用户信息类型 - 1:个人 2:企业
  2103. type: integer
  2104. username:
  2105. description: 用户姓名
  2106. type: string
  2107. userstate:
  2108. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2109. type: integer
  2110. required:
  2111. - userid
  2112. type: object
  2113. erms3.QueryUserInfosRsp:
  2114. properties:
  2115. biznature:
  2116. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2117. type: integer
  2118. contactname:
  2119. description: 联系人
  2120. type: string
  2121. customername:
  2122. description: 客户名称(企业名称)
  2123. type: string
  2124. userid:
  2125. description: 用户ID
  2126. type: integer
  2127. userinfotype:
  2128. description: 用户信息类型 - 1:个人 2:企业
  2129. type: integer
  2130. userstatus:
  2131. description: 用户状态 - 1:正常 2:注销
  2132. type: integer
  2133. required:
  2134. - userid
  2135. type: object
  2136. erms3.SoptContractDetail:
  2137. properties:
  2138. deliverygoodsdesc:
  2139. description: 现货品种说明
  2140. type: string
  2141. deliverygoodsid:
  2142. description: 现货品种ID
  2143. type: integer
  2144. deliverygoodsname:
  2145. description: 现货品种名称
  2146. type: string
  2147. pointdesc:
  2148. description: 点价描述
  2149. type: string
  2150. producttype:
  2151. description: 产品类型 1:标准仓单 2:等标 3:非标
  2152. type: integer
  2153. producttypename:
  2154. description: 产品类型名称
  2155. type: string
  2156. spotPointOrderVoList:
  2157. description: 点价列表
  2158. items:
  2159. $ref: '#/definitions/erms3.SpotPointOrder'
  2160. type: array
  2161. spotPriceOrderList:
  2162. description: 定价列表
  2163. items:
  2164. $ref: '#/definitions/erms3.SpotPriceOrder'
  2165. type: array
  2166. unitname:
  2167. description: 单位名称
  2168. type: string
  2169. warehouseid:
  2170. description: 仓库ID
  2171. type: integer
  2172. warehousename:
  2173. description: 仓库名称
  2174. type: string
  2175. wrstandardid:
  2176. description: 交易标的ID
  2177. type: integer
  2178. wrstandardname:
  2179. description: 交易标的名称
  2180. type: string
  2181. required:
  2182. - deliverygoodsid
  2183. - producttype
  2184. - unitname
  2185. - warehouseid
  2186. - wrstandardid
  2187. - wrstandardname
  2188. type: object
  2189. erms3.SpotPointOrder:
  2190. properties:
  2191. basic:
  2192. description: 基差
  2193. type: number
  2194. deliveryenddate:
  2195. description: 交收结束日期
  2196. type: string
  2197. deliverystartdate:
  2198. description: 交收开始日期
  2199. type: string
  2200. enddate:
  2201. description: 点价结束日期
  2202. type: string
  2203. goodsid:
  2204. description: 商品ID
  2205. type: integer
  2206. goodsname:
  2207. description: 商品名称
  2208. type: string
  2209. qty:
  2210. description: 数量
  2211. type: number
  2212. startdate:
  2213. description: 点价开始日期
  2214. type: string
  2215. required:
  2216. - basic
  2217. - goodsid
  2218. - qty
  2219. type: object
  2220. erms3.SpotPriceOrder:
  2221. properties:
  2222. amount:
  2223. description: 金额
  2224. type: number
  2225. deliveryenddate:
  2226. description: 交收结束日期
  2227. type: string
  2228. deliverystartdate:
  2229. description: 交收开始日期
  2230. type: string
  2231. price:
  2232. description: 价格
  2233. type: number
  2234. qty:
  2235. description: 数量
  2236. type: number
  2237. required:
  2238. - amount
  2239. - price
  2240. - qty
  2241. type: object
  2242. hsby.GetHsbyMyCountRsp:
  2243. properties:
  2244. myCouponCount:
  2245. description: 我的优惠卷数量
  2246. type: integer
  2247. myOrderDetailListingCount:
  2248. description: 我的订单求购中数量
  2249. type: integer
  2250. myOrderDetailPreCount:
  2251. description: 我的订单抢购中数量
  2252. type: integer
  2253. myPackageUnReceiveCount:
  2254. description: 我的包裹待收货数量
  2255. type: integer
  2256. myPackageUnSendCount:
  2257. description: 我的包裹待发货数量
  2258. type: integer
  2259. myPayOrderCount:
  2260. description: 我的订单待付款数量
  2261. type: integer
  2262. type: object
  2263. hsby.QueryProvincesAndCitiesRsp:
  2264. properties:
  2265. cities:
  2266. description: 市
  2267. items:
  2268. $ref: '#/definitions/models.Division'
  2269. type: array
  2270. province:
  2271. $ref: '#/definitions/models.Division'
  2272. description: 省
  2273. type: object
  2274. type: object
  2275. models.Division:
  2276. properties:
  2277. autoid:
  2278. description: 自增ID
  2279. type: integer
  2280. divisioncode:
  2281. description: 行政代码
  2282. type: string
  2283. divisionlevel:
  2284. description: 行政级别
  2285. type: string
  2286. divisionname:
  2287. description: 行政名称
  2288. type: string
  2289. modifierid:
  2290. description: 修改人
  2291. type: integer
  2292. modifytime:
  2293. description: 修改时间
  2294. type: string
  2295. parentcode:
  2296. description: 上级行政代码
  2297. type: string
  2298. pathname:
  2299. description: 路径名称
  2300. type: string
  2301. postcode:
  2302. description: 邮政编码
  2303. type: string
  2304. separablename:
  2305. description: 可拆分的全称
  2306. type: string
  2307. shortcode:
  2308. description: 地区简码
  2309. type: string
  2310. required:
  2311. - autoid
  2312. - divisioncode
  2313. type: object
  2314. models.Enumdicitem:
  2315. properties:
  2316. autoid:
  2317. description: 自增ID
  2318. type: integer
  2319. bankmappedvalue:
  2320. description: 银行服务对应值
  2321. type: string
  2322. enumdiccode:
  2323. description: 所属枚举代码
  2324. type: string
  2325. enumdicid:
  2326. description: 所属枚举ID
  2327. type: integer
  2328. enumdicname:
  2329. description: 枚举项名称
  2330. type: string
  2331. enumitemname:
  2332. description: 枚举项值
  2333. type: integer
  2334. enumitemstatus:
  2335. description: 枚举项状态 - 1.启用 2.不启用
  2336. type: integer
  2337. enumitemvalue:
  2338. description: 通用值 - [币种通用简写]
  2339. type: string
  2340. param1:
  2341. description: 参数1[币种:币种小数位]
  2342. type: string
  2343. param2:
  2344. description: 参数1[币种:币种显示单位]
  2345. type: string
  2346. remark:
  2347. description: 备注
  2348. type: string
  2349. required:
  2350. - autoid
  2351. - enumdiccode
  2352. - enumdicid
  2353. - enumitemname
  2354. type: object
  2355. models.ErmcpHedgePlan:
  2356. properties:
  2357. contracttype:
  2358. description: 计划类型 - 1:采购 -1:销售
  2359. type: integer
  2360. convertfactor:
  2361. description: 标仓系数
  2362. type: number
  2363. deliverygoodsid:
  2364. description: 现货品种ID
  2365. type: integer
  2366. deliverygoodsname:
  2367. description: 现货品种名称
  2368. type: string
  2369. hedgeplanid:
  2370. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2371. type: string
  2372. hedgeplanno:
  2373. description: 套保计划编号
  2374. type: string
  2375. hedgeplanstatus:
  2376. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2377. type: integer
  2378. planqty:
  2379. description: 计划数量
  2380. type: number
  2381. plantime:
  2382. description: 计划时间
  2383. type: string
  2384. producttype:
  2385. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2386. type: integer
  2387. remark:
  2388. description: 备注
  2389. type: string
  2390. spotgoodsdesc:
  2391. description: 商品型号
  2392. type: string
  2393. wrstandardid:
  2394. description: 现货商品ID
  2395. type: integer
  2396. wrstandardname:
  2397. description: 现货商品名称
  2398. type: string
  2399. type: object
  2400. models.ErmcpModel:
  2401. properties:
  2402. accountid:
  2403. description: 账户ID
  2404. type: string
  2405. accountname:
  2406. description: 账户名称
  2407. type: string
  2408. contracctstatus:
  2409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2410. type: integer
  2411. convertfactor:
  2412. description: 标仓系数
  2413. type: number
  2414. daikaiamount:
  2415. description: 待开票额
  2416. type: number
  2417. deliveryenddate:
  2418. description: 交割结束日
  2419. type: string
  2420. deliverygoodscode:
  2421. description: 现货商品代码
  2422. type: string
  2423. deliverygoodsid:
  2424. description: 现货商品ID
  2425. type: integer
  2426. deliverygoodsname:
  2427. description: 现货商品名称
  2428. type: string
  2429. deliverystartdate:
  2430. description: 交割开始日
  2431. type: string
  2432. enddate:
  2433. description: 点价结束日
  2434. type: string
  2435. enumdicname:
  2436. description: 单位名称
  2437. type: string
  2438. goodscode:
  2439. description: 点价商品代码
  2440. type: string
  2441. goodsid:
  2442. description: 点价商品ID
  2443. type: integer
  2444. invoiceamount:
  2445. description: 已开票额
  2446. type: number
  2447. payamount:
  2448. description: 已收付额(收款或付款)
  2449. type: number
  2450. pricedqty:
  2451. description: 已定价量
  2452. type: number
  2453. pricemove:
  2454. description: 升贴水
  2455. type: number
  2456. pricetype:
  2457. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2458. type: integer
  2459. producttype:
  2460. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2461. type: integer
  2462. qty:
  2463. description: 合同量
  2464. type: number
  2465. spotcontractid:
  2466. description: 合同ID
  2467. type: string
  2468. spotgoodsdesc:
  2469. description: 商品型号(商品规格)
  2470. type: string
  2471. startdate:
  2472. description: 点价开始日
  2473. type: string
  2474. unpayamount:
  2475. description: 待支收额(支付或收款)
  2476. type: number
  2477. unpricedqty:
  2478. description: 未定价量
  2479. type: number
  2480. unsureqty:
  2481. description: 未确定量
  2482. type: number
  2483. type: object
  2484. models.ErmcpSpotContractModel:
  2485. properties:
  2486. amount:
  2487. description: 金额 [1:一口价、3:暂定价]
  2488. type: number
  2489. buyuserid:
  2490. description: 采购方ID
  2491. type: integer
  2492. buyusername:
  2493. description: 采购方名称
  2494. type: string
  2495. contracctstatus:
  2496. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2497. type: integer
  2498. contractno:
  2499. description: 现货合同编号
  2500. type: string
  2501. contracttype:
  2502. description: 现货合同类型 - 1:采购 -1:销售
  2503. type: integer
  2504. convertfactor:
  2505. description: 标仓系数
  2506. type: number
  2507. deliveryenddate:
  2508. description: 交收期(结束)
  2509. type: string
  2510. deliverygoodscode:
  2511. description: 现货品种代码
  2512. type: string
  2513. deliverygoodsid:
  2514. description: 现货品种ID
  2515. type: integer
  2516. deliverygoodsname:
  2517. description: 现货品种名称
  2518. type: string
  2519. deliverystartdate:
  2520. description: 交收期(开始)
  2521. type: string
  2522. enddate:
  2523. description: 点价结束日期 [2:点价 3:暂定价]
  2524. type: string
  2525. enumdicname:
  2526. description: 单位名称
  2527. type: string
  2528. goodscode:
  2529. description: 点价合约代码
  2530. type: string
  2531. goodsid:
  2532. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2533. type: integer
  2534. margin:
  2535. description: 当前保证金
  2536. type: number
  2537. price:
  2538. description: 价格\暂定价 [1:一口价、3:暂定价]
  2539. type: number
  2540. pricemove:
  2541. description: 升贴水 [2:点价 3:暂定价]
  2542. type: number
  2543. pricetype:
  2544. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2545. type: integer
  2546. producttype:
  2547. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2548. type: integer
  2549. qty:
  2550. description: 数量
  2551. type: number
  2552. selluserid:
  2553. description: 销售方ID
  2554. type: integer
  2555. sellusername:
  2556. description: 销售方名称
  2557. type: string
  2558. spotcontractid:
  2559. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2560. type: string
  2561. spotgoodsdesc:
  2562. description: 商品型号
  2563. type: string
  2564. startdate:
  2565. description: 点价开始日期 [2:点价 3:暂定价]
  2566. type: string
  2567. type: object
  2568. models.ErmcpUserModel:
  2569. properties:
  2570. address:
  2571. description: 通讯地址
  2572. type: string
  2573. cardnum:
  2574. description: 证件号码
  2575. type: string
  2576. cardtype:
  2577. description: 证件类型
  2578. type: string
  2579. customername:
  2580. description: 企业名称
  2581. type: string
  2582. mobile:
  2583. description: 手机号码
  2584. type: string
  2585. remark:
  2586. description: 备注
  2587. type: string
  2588. status:
  2589. description: 账户状态
  2590. type: string
  2591. telphone:
  2592. description: 联系电话
  2593. type: string
  2594. userinfotype:
  2595. description: 客户类型
  2596. type: string
  2597. type: object
  2598. models.ErmcpWrstandard:
  2599. properties:
  2600. areauserid:
  2601. description: 所属机构
  2602. type: integer
  2603. createtime:
  2604. description: 创建时间
  2605. type: string
  2606. creatorid:
  2607. description: 创建人
  2608. type: integer
  2609. deliverygoodsid:
  2610. description: 品种ID
  2611. type: integer
  2612. enumdicname:
  2613. description: 单位名称
  2614. type: string
  2615. minivalue:
  2616. description: 最小变动值
  2617. type: integer
  2618. minivaluedp:
  2619. description: 最小变动值小数位
  2620. type: integer
  2621. realminivalue:
  2622. description: 实际最小变动值
  2623. type: integer
  2624. realminivaluedp:
  2625. description: 实际最小变动值小数位
  2626. type: integer
  2627. unitid:
  2628. description: 单位ID
  2629. type: integer
  2630. wrstandardcode:
  2631. description: 现货商品代码
  2632. type: string
  2633. wrstandardid:
  2634. description: 现货商品ID(SEQ_WRSTANDARD)
  2635. type: integer
  2636. wrstandardname:
  2637. description: 现货商品名称
  2638. type: string
  2639. type: object
  2640. models.GoodsIDAndName:
  2641. properties:
  2642. goodscode:
  2643. description: 商品代码(内部)
  2644. type: string
  2645. goodsid:
  2646. description: 商品ID(自增ID SEQ_GOODS)
  2647. type: integer
  2648. goodsname:
  2649. description: 商品名称
  2650. type: string
  2651. marketid:
  2652. description: 所属市场ID
  2653. type: integer
  2654. required:
  2655. - goodscode
  2656. - goodsid
  2657. - goodsname
  2658. - marketid
  2659. type: object
  2660. models.HsbyBuyMyPayOrder:
  2661. properties:
  2662. agreeunit:
  2663. description: 合约单位
  2664. type: number
  2665. buyaccountid:
  2666. description: 买方账号ID[报价币种]
  2667. type: integer
  2668. buyorderid:
  2669. description: 买方委托单号
  2670. type: string
  2671. createtime:
  2672. description: 创建时间
  2673. type: string
  2674. currencysign:
  2675. description: 货币符号
  2676. type: string
  2677. decimalplace:
  2678. description: 报价小数位
  2679. type: integer
  2680. goodscode:
  2681. description: 商品代码(内部)
  2682. type: string
  2683. goodsid:
  2684. description: 商品ID
  2685. type: integer
  2686. goodsname:
  2687. description: 商品名称
  2688. type: string
  2689. marketid:
  2690. description: 市场ID
  2691. type: integer
  2692. offamount:
  2693. description: 优惠金额
  2694. type: number
  2695. payamount:
  2696. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2697. type: number
  2698. payflag:
  2699. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2700. type: integer
  2701. paylimitedtime:
  2702. description: 支付期限
  2703. type: string
  2704. paytime:
  2705. description: 付款时间
  2706. type: string
  2707. picurls1:
  2708. description: 预售商品介绍图片[多张用逗号分隔]
  2709. type: string
  2710. picurls2:
  2711. description: 挂牌商品介绍图片[多张用逗号分隔]
  2712. type: string
  2713. sellaccountid:
  2714. description: 卖方账号ID[报价币种]
  2715. type: integer
  2716. sellorderid:
  2717. description: 卖方委托单号
  2718. type: string
  2719. tradeamount:
  2720. description: 成交金额
  2721. type: number
  2722. tradecharge:
  2723. description: 成交手续费(买方)
  2724. type: number
  2725. tradedate:
  2726. description: 交易日(yyyyMMdd)
  2727. type: string
  2728. tradeid:
  2729. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2730. type: string
  2731. trademode:
  2732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2733. 21:竞拍-大宗式 22:受托竞价
  2734. type: integer
  2735. tradeprice:
  2736. description: 成交价格
  2737. type: number
  2738. tradeqty:
  2739. description: 成交数量
  2740. type: integer
  2741. vendorname1:
  2742. description: 预售商品供应商名称
  2743. type: string
  2744. vendorname2:
  2745. description: 挂牌商品供应商名称
  2746. type: string
  2747. required:
  2748. - goodscode
  2749. - goodsname
  2750. - tradeid
  2751. - trademode
  2752. type: object
  2753. models.HsbyBuyMyTradeDetail:
  2754. properties:
  2755. accountid:
  2756. description: 账户ID[报价币种]
  2757. type: integer
  2758. agreeunit:
  2759. description: 合约单位
  2760. type: number
  2761. amount:
  2762. description: 金额 = 价格 * 数量 * 合约单位
  2763. type: number
  2764. buyorsell:
  2765. description: 买卖 - 0:买 1:卖
  2766. type: integer
  2767. currencysign:
  2768. description: 货币符号
  2769. type: string
  2770. decimalplace:
  2771. description: 报价小数位
  2772. type: integer
  2773. goodscode:
  2774. description: 商品代码(内部)
  2775. type: string
  2776. goodsid:
  2777. description: 商品ID
  2778. type: integer
  2779. goodsname:
  2780. description: 商品名称
  2781. type: string
  2782. marketid:
  2783. description: 市场ID
  2784. type: integer
  2785. orderid:
  2786. description: 单号(成交单号)
  2787. type: string
  2788. picurls1:
  2789. description: 预售商品介绍图片[多张用逗号分隔]
  2790. type: string
  2791. picurls2:
  2792. description: 挂牌商品介绍图片[多张用逗号分隔]
  2793. type: string
  2794. price:
  2795. description: 价格
  2796. type: number
  2797. qty:
  2798. description: 数量
  2799. type: integer
  2800. time:
  2801. description: 时间
  2802. type: string
  2803. trademode:
  2804. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2805. 21:竞拍-大宗式 22:受托竞价
  2806. type: integer
  2807. vendorname1:
  2808. description: 预售商品供应商名称
  2809. type: string
  2810. vendorname2:
  2811. description: 挂牌商品供应商名称
  2812. type: string
  2813. required:
  2814. - accountid
  2815. - buyorsell
  2816. - goodscode
  2817. - goodsid
  2818. - goodsname
  2819. - marketid
  2820. - orderid
  2821. - qty
  2822. - time
  2823. - trademode
  2824. type: object
  2825. models.HsbyGoodsOrderDetail:
  2826. properties:
  2827. buyorsell:
  2828. description: 买卖 - 0:买 1:卖
  2829. type: integer
  2830. currencysign:
  2831. description: 货币符号
  2832. type: string
  2833. customername:
  2834. description: 客户名称(企业名称),已脱敏
  2835. type: string
  2836. enableqty:
  2837. description: 可用数量
  2838. type: integer
  2839. goodunit:
  2840. description: 报价单位
  2841. type: string
  2842. orderid:
  2843. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2844. type: string
  2845. orderprice:
  2846. description: 委托价格
  2847. type: number
  2848. ordertime:
  2849. description: 委托时间
  2850. type: string
  2851. required:
  2852. - buyorsell
  2853. - orderid
  2854. - ordertime
  2855. type: object
  2856. models.HsbyListingGoodsDetail:
  2857. properties:
  2858. agreeunit:
  2859. description: 合约单位
  2860. type: number
  2861. buymaxqty:
  2862. description: 购买上限 [71] - 0为不限
  2863. type: integer
  2864. currency:
  2865. description: 货币
  2866. type: string
  2867. currencysign:
  2868. description: 货币符号
  2869. type: string
  2870. decimalplace:
  2871. description: 报价小数位
  2872. type: integer
  2873. desccityid:
  2874. description: 目的地(市)ID
  2875. type: integer
  2876. descprovinceid:
  2877. description: 目的地(省)ID
  2878. type: integer
  2879. goodscode:
  2880. description: 商品代码(内部)
  2881. type: string
  2882. goodsdesc:
  2883. description: 商品详情
  2884. type: string
  2885. goodsid:
  2886. description: 商品ID(自增ID SEQ_GOODS)
  2887. type: integer
  2888. goodsname:
  2889. description: 商品名称
  2890. type: string
  2891. goodsprice:
  2892. description: 商品价格
  2893. type: number
  2894. hotindex:
  2895. description: 景点热度
  2896. type: integer
  2897. last:
  2898. description: 现价
  2899. type: number
  2900. limitdown:
  2901. description: 跌停价
  2902. type: number
  2903. limitup:
  2904. description: 涨停价
  2905. type: number
  2906. lotsize:
  2907. description: 手数最小变动单位
  2908. type: integer
  2909. marketid:
  2910. description: 所属市场ID
  2911. type: integer
  2912. picurls:
  2913. description: 介绍图片[多张用逗号分隔]
  2914. type: string
  2915. quoteminunit:
  2916. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2917. type: integer
  2918. stepvalue:
  2919. description: 价格最小变动单位
  2920. type: number
  2921. trademode:
  2922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2923. 21:竞拍-大宗式 22:受托竞价
  2924. type: integer
  2925. vendorattr:
  2926. description: 供应商附件(多张,逗号分隔)
  2927. type: string
  2928. vendorname:
  2929. description: 供应商名称
  2930. type: string
  2931. vendorphone:
  2932. description: 供应商客服电话
  2933. type: string
  2934. videourls:
  2935. description: 介绍视频[多张用逗号分隔]
  2936. type: string
  2937. required:
  2938. - goodscode
  2939. - goodsid
  2940. - goodsname
  2941. - marketid
  2942. - trademode
  2943. type: object
  2944. models.HsbyMarketGoods:
  2945. properties:
  2946. accountid:
  2947. description: 账户ID[报价币种]
  2948. type: integer
  2949. agreeunit:
  2950. description: 合约单位
  2951. type: number
  2952. buyorsell:
  2953. description: 买卖 - 0:买 1:卖
  2954. type: integer
  2955. categoryid:
  2956. description: 类别ID(WRCATEGORY)
  2957. type: integer
  2958. currency:
  2959. description: 货币
  2960. type: string
  2961. currencysign:
  2962. description: 货币符号
  2963. type: string
  2964. customername:
  2965. description: 卖家名称
  2966. type: string
  2967. decimalplace:
  2968. description: 报价小数位
  2969. type: integer
  2970. goodscode:
  2971. description: 商品代码(内部)
  2972. type: string
  2973. goodsid:
  2974. description: 商品ID
  2975. type: integer
  2976. goodsname:
  2977. description: 商品名称
  2978. type: string
  2979. hascoupon:
  2980. description: 是否可用优惠卷
  2981. type: boolean
  2982. hotindex:
  2983. description: 景点热度
  2984. type: integer
  2985. marketid:
  2986. description: 市场ID
  2987. type: integer
  2988. orderid:
  2989. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2990. type: string
  2991. orderprice:
  2992. description: 委托价格
  2993. type: number
  2994. orderstatus:
  2995. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2996. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2997. 16:成交失败违约(荷兰式竞拍专用)
  2998. type: integer
  2999. picurls:
  3000. description: 介绍图片[多张用逗号分隔]
  3001. type: string
  3002. quoteminunit:
  3003. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3004. type: integer
  3005. sellUserID:
  3006. description: 卖方UserID
  3007. type: integer
  3008. trademode:
  3009. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3010. 21:竞拍-大宗式 22:受托竞价
  3011. type: integer
  3012. videourls:
  3013. description: 介绍视频[多张用逗号分隔]
  3014. type: string
  3015. required:
  3016. - accountid
  3017. - buyorsell
  3018. - goodscode
  3019. - goodsid
  3020. - goodsname
  3021. - marketid
  3022. - orderid
  3023. - trademode
  3024. type: object
  3025. models.HsbyMarketGoodsDetail:
  3026. properties:
  3027. accountid:
  3028. description: 账户ID[报价币种]
  3029. type: integer
  3030. agreeunit:
  3031. description: 合约单位
  3032. type: number
  3033. buymaxqty:
  3034. description: 购买上限 [71] - 0为不限
  3035. type: integer
  3036. buyorsell:
  3037. description: 买卖 - 0:买 1:卖
  3038. type: integer
  3039. cancelqty:
  3040. description: 撤单数量
  3041. type: integer
  3042. categoryid:
  3043. description: 类别ID(WRCATEGORY)
  3044. type: integer
  3045. currency:
  3046. description: 货币
  3047. type: string
  3048. currencysign:
  3049. description: 货币符号
  3050. type: string
  3051. customername:
  3052. description: 卖家名称
  3053. type: string
  3054. decimalplace:
  3055. description: 报价小数位
  3056. type: integer
  3057. goodscode:
  3058. description: 商品代码(内部)
  3059. type: string
  3060. goodsdesc:
  3061. description: 商品详情
  3062. type: string
  3063. goodsid:
  3064. description: 商品ID
  3065. type: integer
  3066. goodsname:
  3067. description: 商品名称
  3068. type: string
  3069. hotindex:
  3070. description: 景点热度
  3071. type: integer
  3072. lotsize:
  3073. description: 手数最小变动单位
  3074. type: integer
  3075. marketid:
  3076. description: 市场ID
  3077. type: integer
  3078. orderid:
  3079. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3080. type: string
  3081. orderprice:
  3082. description: 委托价格
  3083. type: number
  3084. orderqty:
  3085. description: 委托数量
  3086. type: integer
  3087. orderstatus:
  3088. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3089. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3090. 16:成交失败违约(荷兰式竞拍专用)
  3091. type: integer
  3092. picurls:
  3093. description: 介绍图片[多张用逗号分隔]
  3094. type: string
  3095. quoteminunit:
  3096. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3097. type: integer
  3098. sellUserID:
  3099. description: 卖方UserID
  3100. type: integer
  3101. trademode:
  3102. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3103. 21:竞拍-大宗式 22:受托竞价
  3104. type: integer
  3105. tradeqty:
  3106. description: 成交数量
  3107. type: integer
  3108. vendorname:
  3109. description: 供应商名称
  3110. type: string
  3111. videourls:
  3112. description: 介绍视频[多张用逗号分隔]
  3113. type: string
  3114. required:
  3115. - accountid
  3116. - buyorsell
  3117. - goodscode
  3118. - goodsid
  3119. - goodsname
  3120. - marketid
  3121. - orderid
  3122. - orderqty
  3123. - trademode
  3124. type: object
  3125. models.HsbyMarketInfo:
  3126. properties:
  3127. marketid:
  3128. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  3129. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  3130. type: integer
  3131. marketname:
  3132. description: 市场名称
  3133. type: string
  3134. marketstatus:
  3135. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  3136. type: integer
  3137. trademode:
  3138. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3139. 21:竞拍-大宗式 22:受托竞价
  3140. type: integer
  3141. required:
  3142. - marketid
  3143. - marketstatus
  3144. - trademode
  3145. type: object
  3146. models.HsbyMyGoods:
  3147. properties:
  3148. accountid:
  3149. description: 账号Id
  3150. type: integer
  3151. agreeunit:
  3152. description: 合约单位
  3153. type: number
  3154. buyaverageprice:
  3155. description: 持仓均价
  3156. type: number
  3157. buycurholderamount:
  3158. description: 买当前持仓总金额[商品币种]
  3159. type: number
  3160. buycurpositionqty:
  3161. description: 买当前持仓总数量
  3162. type: integer
  3163. currencysign:
  3164. description: 货币符号
  3165. type: string
  3166. decimalplace:
  3167. description: 报价小数位
  3168. type: integer
  3169. enableqty:
  3170. description: 可用数量
  3171. type: integer
  3172. goodscode:
  3173. description: 商品代码(内部)
  3174. type: string
  3175. goodsid:
  3176. description: 商品Id
  3177. type: integer
  3178. goodsname:
  3179. description: 商品名称
  3180. type: string
  3181. goodsprice:
  3182. description: 商品价格
  3183. type: number
  3184. goodsstatus:
  3185. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3186. type: integer
  3187. marketid:
  3188. description: 所属市场ID
  3189. type: integer
  3190. picurls:
  3191. description: 介绍图片[多张用逗号分隔]
  3192. type: string
  3193. trademode:
  3194. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3195. 21:竞拍-大宗式 22:受托竞价
  3196. type: integer
  3197. required:
  3198. - accountid
  3199. - goodscode
  3200. - goodsid
  3201. - goodsname
  3202. - marketid
  3203. - trademode
  3204. type: object
  3205. models.HsbyMyPackage:
  3206. properties:
  3207. accountid:
  3208. description: 账户ID
  3209. type: integer
  3210. address:
  3211. description: 提货人详细地址
  3212. type: string
  3213. agreeunit:
  3214. description: 合约单位
  3215. type: number
  3216. amount:
  3217. description: 提货金额
  3218. type: number
  3219. auditer:
  3220. description: 审核人
  3221. type: integer
  3222. audittime:
  3223. description: 审核时间
  3224. type: string
  3225. averageprice:
  3226. description: 均价
  3227. type: number
  3228. cardnum:
  3229. description: 提货人证件号码
  3230. type: string
  3231. cardtypeid:
  3232. description: 提货人证件类型
  3233. type: integer
  3234. checkremark:
  3235. description: 审核备注
  3236. type: string
  3237. currencysign:
  3238. description: 货币符号
  3239. type: string
  3240. decimalplace:
  3241. description: 报价小数位
  3242. type: integer
  3243. goodscode:
  3244. description: 商品代码(内部)
  3245. type: string
  3246. goodsid:
  3247. description: 商品ID
  3248. type: integer
  3249. goodsname:
  3250. description: 商品名称
  3251. type: string
  3252. handlestatus:
  3253. description: 处理状态
  3254. type: integer
  3255. marketid:
  3256. description: 市场ID
  3257. type: integer
  3258. phonenum:
  3259. description: 提货人联系方式
  3260. type: string
  3261. picurls:
  3262. description: 介绍图片[多张用逗号分隔]
  3263. type: string
  3264. qty:
  3265. description: 提货数量
  3266. type: number
  3267. recivername:
  3268. description: 提货人姓名
  3269. type: string
  3270. reqtime:
  3271. description: 更新时间
  3272. type: string
  3273. takemode:
  3274. description: 提货方式 - 2:自提 3:配送
  3275. type: integer
  3276. takeorderid:
  3277. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3278. type: string
  3279. takeorderstatus:
  3280. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3281. type: integer
  3282. takeremark:
  3283. description: 提货备注
  3284. type: string
  3285. tradedate:
  3286. description: 交易日(yyyyMMdd)
  3287. type: string
  3288. userid:
  3289. description: 用户ID
  3290. type: integer
  3291. vendorname:
  3292. description: 供应商名称
  3293. type: string
  3294. required:
  3295. - goodscode
  3296. - goodsname
  3297. - takeorderid
  3298. type: object
  3299. models.HsbyPreGoods:
  3300. properties:
  3301. agreeunit:
  3302. description: 合约单位
  3303. type: number
  3304. currency:
  3305. description: 货币
  3306. type: string
  3307. currencysign:
  3308. description: 货币符号
  3309. type: string
  3310. decimalplace:
  3311. description: 报价小数位
  3312. type: integer
  3313. enableqty:
  3314. description: 剩余数量
  3315. type: integer
  3316. goodscode:
  3317. description: 商品代码(内部)
  3318. type: string
  3319. goodsid:
  3320. description: 商品ID(自增ID SEQ_GOODS)
  3321. type: integer
  3322. goodsname:
  3323. description: 商品名称
  3324. type: string
  3325. goodsstatus:
  3326. description: 商品状态- 2:未上市 3:上市
  3327. type: integer
  3328. lasttradedate:
  3329. description: 最后交易日期(状态:待退市)
  3330. type: string
  3331. listingdate:
  3332. description: 交易开始日期
  3333. type: string
  3334. marketid:
  3335. description: 所属市场ID
  3336. type: integer
  3337. picurls:
  3338. description: 介绍图片[多张用逗号分隔]
  3339. type: string
  3340. presaledqty:
  3341. description: 已预售量(预售结束时更新)
  3342. type: integer
  3343. presaleqty:
  3344. description: 预售数量
  3345. type: integer
  3346. quoteminunit:
  3347. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3348. type: integer
  3349. refprice:
  3350. description: 参考价格[一口价]
  3351. type: number
  3352. relatedgoodsid:
  3353. description: 关联交易合约ID
  3354. type: integer
  3355. trademode:
  3356. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3357. 21:竞拍-大宗式 22:受托竞价
  3358. type: integer
  3359. videourls:
  3360. description: 介绍视频[多张用逗号分隔]
  3361. type: string
  3362. required:
  3363. - goodscode
  3364. - goodsid
  3365. - goodsname
  3366. - marketid
  3367. - trademode
  3368. type: object
  3369. models.HsbyPreGoodsDetail:
  3370. properties:
  3371. agreeunit:
  3372. description: 合约单位
  3373. type: number
  3374. buymaxqty:
  3375. description: 购买上限 [71] - 0为不限
  3376. type: integer
  3377. currency:
  3378. description: 货币
  3379. type: string
  3380. currencysign:
  3381. description: 货币符号
  3382. type: string
  3383. customername:
  3384. description: 发行单位
  3385. type: string
  3386. decimalplace:
  3387. description: 报价小数位
  3388. type: integer
  3389. desccityid:
  3390. description: 目的地(市)ID
  3391. type: integer
  3392. descprovinceid:
  3393. description: 目的地(省)ID
  3394. type: integer
  3395. enableqty:
  3396. description: 剩余数量
  3397. type: integer
  3398. goodscode:
  3399. description: 商品代码(内部)
  3400. type: string
  3401. goodsdesc:
  3402. description: 商品详情
  3403. type: string
  3404. goodsid:
  3405. description: 商品ID(自增ID SEQ_GOODS)
  3406. type: integer
  3407. goodsname:
  3408. description: 商品名称
  3409. type: string
  3410. goodsstatus:
  3411. description: 商品状态- 2:未上市 3:上市
  3412. type: integer
  3413. goodunit:
  3414. description: 报价单位
  3415. type: string
  3416. lasttradedate:
  3417. description: 最后交易日期(状态:待退市)
  3418. type: string
  3419. listingdate:
  3420. description: 交易开始日期
  3421. type: string
  3422. lotsize:
  3423. description: 手数最小变动单位
  3424. type: integer
  3425. marketid:
  3426. description: 所属市场ID
  3427. type: integer
  3428. picurls:
  3429. description: 介绍图片[多张用逗号分隔]
  3430. type: string
  3431. presaledqty:
  3432. description: 已预售量(预售结束时更新)
  3433. type: integer
  3434. presaleqty:
  3435. description: 预售数量
  3436. type: integer
  3437. quoteminunit:
  3438. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3439. type: integer
  3440. refprice:
  3441. description: 参考价格[一口价]
  3442. type: number
  3443. relatedgoodsid:
  3444. description: 关联交易合约ID
  3445. type: integer
  3446. stepvalue:
  3447. description: 价格最小变动单位
  3448. type: number
  3449. trademode:
  3450. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3451. 21:竞拍-大宗式 22:受托竞价
  3452. type: integer
  3453. vendorattr:
  3454. description: 供应商附件(多张,逗号分隔)
  3455. type: string
  3456. vendorname:
  3457. description: 供应商名称
  3458. type: string
  3459. vendorphone:
  3460. description: 供应商客服电话
  3461. type: string
  3462. videourls:
  3463. description: 介绍视频[多张用逗号分隔]
  3464. type: string
  3465. required:
  3466. - goodscode
  3467. - goodsid
  3468. - goodsname
  3469. - marketid
  3470. - trademode
  3471. type: object
  3472. models.HsbySellCollectionOrder:
  3473. properties:
  3474. agreeunit:
  3475. description: 合约单位
  3476. type: number
  3477. buyaccountid:
  3478. description: 买方账号ID[报价币种]
  3479. type: integer
  3480. buyorderid:
  3481. description: 买方委托单号
  3482. type: string
  3483. createtime:
  3484. description: 创建时间
  3485. type: string
  3486. currencysign:
  3487. description: 货币符号
  3488. type: string
  3489. decimalplace:
  3490. description: 报价小数位
  3491. type: integer
  3492. goodscode:
  3493. description: 商品代码(内部)
  3494. type: string
  3495. goodsid:
  3496. description: 商品ID
  3497. type: integer
  3498. goodsname:
  3499. description: 商品名称
  3500. type: string
  3501. marketid:
  3502. description: 市场ID
  3503. type: integer
  3504. offamount:
  3505. description: 优惠金额
  3506. type: number
  3507. payamount:
  3508. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3509. type: number
  3510. payflag:
  3511. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3512. type: integer
  3513. paylimitedtime:
  3514. description: 支付期限
  3515. type: string
  3516. paytime:
  3517. description: 付款时间
  3518. type: string
  3519. picurls:
  3520. description: 商品介绍图片[多张用逗号分隔]
  3521. type: string
  3522. sellaccountid:
  3523. description: 卖方账号ID[报价币种]
  3524. type: integer
  3525. sellorderid:
  3526. description: 卖方委托单号
  3527. type: string
  3528. tradeamount:
  3529. description: 成交金额
  3530. type: number
  3531. tradecharge:
  3532. description: 成交手续费(买方)
  3533. type: number
  3534. tradedate:
  3535. description: 交易日(yyyyMMdd)
  3536. type: string
  3537. tradeid:
  3538. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3539. type: string
  3540. trademode:
  3541. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3542. 21:竞拍-大宗式 22:受托竞价
  3543. type: integer
  3544. tradeprice:
  3545. description: 成交价格
  3546. type: number
  3547. tradeqty:
  3548. description: 成交数量
  3549. type: integer
  3550. required:
  3551. - goodscode
  3552. - goodsname
  3553. - tradeid
  3554. - trademode
  3555. type: object
  3556. models.HsbySellMyDetail:
  3557. properties:
  3558. accountid:
  3559. description: 账户ID[报价币种]
  3560. type: integer
  3561. agreeunit:
  3562. description: 合约单位
  3563. type: number
  3564. buyorsell:
  3565. description: 买卖 - 0:买 1:卖
  3566. type: integer
  3567. currencysign:
  3568. description: 货币符号
  3569. type: string
  3570. decimalplace:
  3571. description: 报价小数位
  3572. type: integer
  3573. goodscode:
  3574. description: 商品代码(内部)
  3575. type: string
  3576. goodsid:
  3577. description: 商品ID
  3578. type: integer
  3579. goodsname:
  3580. description: 商品名称
  3581. type: string
  3582. marketid:
  3583. description: 市场ID
  3584. type: integer
  3585. orderid:
  3586. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3587. type: string
  3588. ordertype:
  3589. description: 单据类型:0 - 发布中, 1 - 已完成
  3590. type: integer
  3591. picurls:
  3592. description: 介绍图片[多张用逗号分隔]
  3593. type: string
  3594. price:
  3595. description: 价格
  3596. type: number
  3597. qty:
  3598. description: 数量
  3599. type: integer
  3600. time:
  3601. description: 时间
  3602. type: string
  3603. trademode:
  3604. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3605. 21:竞拍-大宗式 22:受托竞价
  3606. type: integer
  3607. vendorname:
  3608. description: 供应商名称
  3609. type: string
  3610. required:
  3611. - accountid
  3612. - buyorsell
  3613. - goodscode
  3614. - goodsid
  3615. - goodsname
  3616. - marketid
  3617. - orderid
  3618. - time
  3619. - trademode
  3620. type: object
  3621. models.HsbyTopGoods:
  3622. properties:
  3623. agreeunit:
  3624. description: 合约单位
  3625. type: number
  3626. currency:
  3627. description: 货币
  3628. type: string
  3629. currencysign:
  3630. description: 货币符号
  3631. type: string
  3632. decimalplace:
  3633. description: 报价小数位
  3634. type: integer
  3635. goodscode:
  3636. description: 商品代码(内部)
  3637. type: string
  3638. goodsid:
  3639. description: 商品ID(自增ID SEQ_GOODS)
  3640. type: integer
  3641. goodsname:
  3642. description: 商品名称
  3643. type: string
  3644. hotindex:
  3645. description: 景点热度
  3646. type: integer
  3647. last:
  3648. description: 现价
  3649. type: number
  3650. marketid:
  3651. description: 所属市场ID
  3652. type: integer
  3653. picurls:
  3654. description: 介绍图片[多张用逗号分隔]
  3655. type: string
  3656. quoteminunit:
  3657. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3658. type: integer
  3659. trademode:
  3660. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3661. 21:竞拍-大宗式 22:受托竞价
  3662. type: integer
  3663. videourls:
  3664. description: 介绍视频[多张用逗号分隔]
  3665. type: string
  3666. required:
  3667. - goodscode
  3668. - goodsid
  3669. - goodsname
  3670. - marketid
  3671. - trademode
  3672. type: object
  3673. models.HybsMyBuyOrderDetail:
  3674. properties:
  3675. accountid:
  3676. description: 账户ID[报价币种]
  3677. type: integer
  3678. agreeunit:
  3679. description: 合约单位
  3680. type: number
  3681. buyorsell:
  3682. description: 买卖 - 0:买 1:卖
  3683. type: integer
  3684. cancelqty:
  3685. description: 撤单数量
  3686. type: integer
  3687. currencysign:
  3688. description: 货币符号
  3689. type: string
  3690. decimalplace:
  3691. description: 报价小数位
  3692. type: integer
  3693. goodscode:
  3694. description: 商品代码(内部)
  3695. type: string
  3696. goodsid:
  3697. description: 商品ID
  3698. type: integer
  3699. goodsname:
  3700. description: 商品名称
  3701. type: string
  3702. listingselecttype:
  3703. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3704. type: integer
  3705. marketid:
  3706. description: 市场ID
  3707. type: integer
  3708. mybuystatus:
  3709. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  3710. type: integer
  3711. orderamount:
  3712. description: 委托金额
  3713. type: number
  3714. orderid:
  3715. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3716. type: string
  3717. orderprice:
  3718. description: 委托价格
  3719. type: number
  3720. orderqty:
  3721. description: 委托数量
  3722. type: integer
  3723. orderstatus:
  3724. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3725. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3726. 16:成交失败违约(荷兰式竞拍专用)
  3727. type: integer
  3728. ordertime:
  3729. description: 委托时间
  3730. type: string
  3731. picurls1:
  3732. description: 预售商品介绍图片[多张用逗号分隔]
  3733. type: string
  3734. picurls2:
  3735. description: 挂牌商品介绍图片[多张用逗号分隔]
  3736. type: string
  3737. trademode:
  3738. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3739. 21:竞拍-大宗式 22:受托竞价
  3740. type: integer
  3741. tradeqty:
  3742. description: 成交数量
  3743. type: integer
  3744. vendorname1:
  3745. description: 预售商品供应商名称
  3746. type: string
  3747. vendorname2:
  3748. description: 挂牌商品供应商名称
  3749. type: string
  3750. required:
  3751. - accountid
  3752. - buyorsell
  3753. - goodscode
  3754. - goodsid
  3755. - goodsname
  3756. - marketid
  3757. - orderid
  3758. - orderqty
  3759. - ordertime
  3760. - trademode
  3761. type: object
  3762. models.Marketrun:
  3763. properties:
  3764. afternexttradedate:
  3765. description: 下下交易日
  3766. type: string
  3767. clearquoteflag:
  3768. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  3769. type: integer
  3770. lastreckondate:
  3771. description: 最新交易日(结算成功)
  3772. type: string
  3773. machinedate:
  3774. description: 机器时间
  3775. type: string
  3776. manualflag:
  3777. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  3778. type: integer
  3779. marketid:
  3780. description: 市场ID
  3781. type: integer
  3782. nexttradedate:
  3783. description: 下一交易日
  3784. type: string
  3785. pretradedate:
  3786. description: 上一交易日
  3787. type: string
  3788. reckonflag:
  3789. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  3790. type: integer
  3791. runstatus:
  3792. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  3793. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  3794. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  3795. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  3796. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  3797. 62.今日免清算
  3798. type: integer
  3799. sectionid:
  3800. description: 时间段号[多时段时用]
  3801. type: integer
  3802. tradedate:
  3803. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  3804. type: string
  3805. tradedate2:
  3806. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  3807. type: string
  3808. updatetime:
  3809. description: 更新时间
  3810. type: string
  3811. required:
  3812. - marketid
  3813. - nexttradedate
  3814. - reckonflag
  3815. - runstatus
  3816. - tradedate
  3817. - tradedate2
  3818. type: object
  3819. models.Messageboard:
  3820. properties:
  3821. createtime:
  3822. description: 创建时间
  3823. type: string
  3824. message:
  3825. description: 留言信息
  3826. type: string
  3827. messageboardid:
  3828. description: 留言簿ID(SEQ_MessageBoard)
  3829. type: integer
  3830. userid:
  3831. description: 用户ID
  3832. type: integer
  3833. required:
  3834. - messageboardid
  3835. type: object
  3836. models.MyCoupon:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. areauserid:
  3842. description: 所属机构
  3843. type: integer
  3844. conditionvalue:
  3845. description: 条件阈值(可为0)
  3846. type: number
  3847. couponcategroy:
  3848. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  3849. type: integer
  3850. couponname:
  3851. description: 优惠券名称
  3852. type: string
  3853. coupontypeid:
  3854. description: 优惠券类型ID
  3855. type: string
  3856. couponvalue:
  3857. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3858. type: number
  3859. curfreezeqty:
  3860. description: 期末冻结数量
  3861. type: integer
  3862. curqty:
  3863. description: 期末数量
  3864. type: integer
  3865. isgeneral:
  3866. description: 是否通用券 - 0:否 1:是
  3867. type: integer
  3868. isunusable:
  3869. description: 是否不可用
  3870. type: boolean
  3871. limitedflag:
  3872. description: 是否指定商品 - 0:不限 1:限制
  3873. type: integer
  3874. limitedgoodsids:
  3875. description: 指定商品IDs[逗号分隔,前后加逗号]
  3876. type: string
  3877. orifreezeqty:
  3878. description: 期初冻结数量
  3879. type: integer
  3880. oriqty:
  3881. description: 期初数量
  3882. type: integer
  3883. reasontype:
  3884. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  3885. type: integer
  3886. todaydecrease:
  3887. description: 今日减少
  3888. type: integer
  3889. todayincrease:
  3890. description: 今日增加
  3891. type: integer
  3892. userid:
  3893. description: 用户ID
  3894. type: integer
  3895. userscope:
  3896. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  3897. type: string
  3898. required:
  3899. - accountid
  3900. - coupontypeid
  3901. type: object
  3902. models.MyCouponHold:
  3903. properties:
  3904. accountid:
  3905. description: 资金账户ID
  3906. type: integer
  3907. conditionvalue:
  3908. description: 条件阈值(可为0)
  3909. type: number
  3910. couponcategroy:
  3911. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  3912. type: integer
  3913. couponholdid:
  3914. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  3915. type: string
  3916. couponname:
  3917. description: 优惠券名称
  3918. type: string
  3919. coupontypeid:
  3920. description: 优惠券类型ID - SEQ_COUPONTYPE
  3921. type: string
  3922. couponvalue:
  3923. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3924. type: number
  3925. createtime:
  3926. description: 创建时间
  3927. type: string
  3928. enddate:
  3929. description: 结束日期
  3930. type: string
  3931. giveapplyid:
  3932. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  3933. type: integer
  3934. holdstatus:
  3935. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  3936. type: integer
  3937. isgeneral:
  3938. description: 是否通用券 - 0:否 1:是
  3939. type: integer
  3940. limitedflag:
  3941. description: 是否指定商品 - 0:不限 1:限制
  3942. type: integer
  3943. limitedgoodsids:
  3944. description: 指定商品IDs[逗号分隔]
  3945. type: string
  3946. qty:
  3947. description: 数量(按1平铺)
  3948. type: integer
  3949. startdate:
  3950. description: 开始日期
  3951. type: string
  3952. userid:
  3953. description: 用户ID
  3954. type: integer
  3955. userscope:
  3956. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  3957. type: string
  3958. required:
  3959. - couponholdid
  3960. type: object
  3961. models.MyUsedCoupon:
  3962. properties:
  3963. accountid:
  3964. description: 资金账户ID(买方)
  3965. type: integer
  3966. conditionvalue:
  3967. description: 条件阈值(可为0)
  3968. type: number
  3969. couponcategroy:
  3970. description: 种类 - 1:现金券 2:折扣券
  3971. type: integer
  3972. couponname:
  3973. description: 优惠券名称
  3974. type: string
  3975. coupontypeid:
  3976. description: 优惠券类型ID(买方)
  3977. type: string
  3978. couponvalue:
  3979. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  3980. type: number
  3981. createtime:
  3982. description: 创建时间
  3983. type: string
  3984. goodsid:
  3985. description: 商品ID
  3986. type: integer
  3987. handlestatus:
  3988. description: 处理状态
  3989. type: integer
  3990. marketid:
  3991. description: 市场ID
  3992. type: integer
  3993. offamount:
  3994. description: 优惠金额
  3995. type: number
  3996. orderid:
  3997. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3998. type: string
  3999. sellaccountid:
  4000. description: 资金账户ID(卖方)
  4001. type: integer
  4002. tradeamount:
  4003. description: 成交金额
  4004. type: number
  4005. tradeid:
  4006. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4007. type: string
  4008. usedqty:
  4009. description: 使用数量
  4010. type: integer
  4011. required:
  4012. - coupontypeid
  4013. - orderid
  4014. type: object
  4015. models.OperationPrimaryMenu:
  4016. properties:
  4017. Children:
  4018. description: 二级功能菜单
  4019. items:
  4020. $ref: '#/definitions/models.OperationSecondaryMenu'
  4021. type: array
  4022. Key:
  4023. description: 菜单KEY
  4024. type: string
  4025. Label:
  4026. description: 菜单标题
  4027. type: string
  4028. type: object
  4029. models.OperationSecondaryMenu:
  4030. properties:
  4031. Key:
  4032. description: 菜单KEY
  4033. type: string
  4034. Label:
  4035. description: 菜单标题
  4036. type: string
  4037. TabList:
  4038. description: 三级功能菜单
  4039. items:
  4040. $ref: '#/definitions/models.OperationTabMenu'
  4041. type: array
  4042. type: object
  4043. models.OperationTabMenu:
  4044. properties:
  4045. Key:
  4046. description: 菜单KEY
  4047. type: string
  4048. Label:
  4049. description: 菜单标题
  4050. type: string
  4051. type: object
  4052. models.PendingAuditBizModel:
  4053. properties:
  4054. accountid:
  4055. description: 现货账户
  4056. type: string
  4057. areaname:
  4058. description: 所属部门
  4059. type: string
  4060. bizid:
  4061. description: 业务ID
  4062. type: string
  4063. bizname:
  4064. description: 业务名称
  4065. type: string
  4066. status:
  4067. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4068. type: integer
  4069. type:
  4070. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4071. type: integer
  4072. type: object
  4073. models.QuotePrimaryMenu:
  4074. properties:
  4075. Index:
  4076. description: 序号
  4077. type: integer
  4078. Key:
  4079. description: 键名
  4080. type: string
  4081. Name:
  4082. description: 菜单名称
  4083. type: string
  4084. SubMenus:
  4085. description: 子菜单
  4086. items:
  4087. $ref: '#/definitions/models.QuoteSecondaryMenu'
  4088. type: array
  4089. SubTitleType:
  4090. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  4091. type: integer
  4092. TradeModes:
  4093. description: 包含市场交易类型
  4094. type: string
  4095. type: object
  4096. models.QuoteSecondaryMenu:
  4097. properties:
  4098. ExExchangeCode:
  4099. description: 外部交易所代码
  4100. type: string
  4101. ExExchangeID:
  4102. description: 外部交易所ID
  4103. type: integer
  4104. GoodsGroupIDs:
  4105. description: 商品组ID列表
  4106. items:
  4107. type: integer
  4108. type: array
  4109. Index:
  4110. description: 序号
  4111. type: integer
  4112. MarketID:
  4113. description: 市场ID
  4114. type: integer
  4115. MenuTitle:
  4116. description: 菜单标题(市场名称或外部交易所名称)
  4117. type: string
  4118. TradeMode:
  4119. description: 交易模式
  4120. type: integer
  4121. type: object
  4122. models.SearchGoods:
  4123. properties:
  4124. goodscode:
  4125. description: 商品代码(内部)
  4126. type: string
  4127. goodsid:
  4128. description: 商品ID(自增ID SEQ_GOODS)
  4129. type: integer
  4130. goodsname:
  4131. description: 商品名称
  4132. type: string
  4133. marketid:
  4134. description: 所属市场ID
  4135. type: integer
  4136. marketname:
  4137. description: 市场名称
  4138. type: string
  4139. trademode:
  4140. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4141. 21:竞拍-大宗式 22:受托竞价
  4142. type: integer
  4143. required:
  4144. - goodscode
  4145. - goodsid
  4146. - goodsname
  4147. - marketid
  4148. - trademode
  4149. type: object
  4150. models.Szdz2imageconfig:
  4151. properties:
  4152. configid:
  4153. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  4154. type: integer
  4155. imagepath:
  4156. description: 图片
  4157. type: string
  4158. imagetype:
  4159. description: 类型 - 1:App首页轮播 2:我的
  4160. type: integer
  4161. sort:
  4162. description: 排序
  4163. type: integer
  4164. title:
  4165. description: 标题
  4166. type: string
  4167. url:
  4168. description: 链接
  4169. type: string
  4170. required:
  4171. - configid
  4172. type: object
  4173. models.Szdz3convertconfig:
  4174. properties:
  4175. canin:
  4176. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  4177. type: integer
  4178. canout:
  4179. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  4180. type: integer
  4181. converttype:
  4182. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4183. 6:交易转花生米(不设置)
  4184. type: integer
  4185. createtime:
  4186. description: 创建时间
  4187. type: string
  4188. creatorid:
  4189. description: 创建人
  4190. type: integer
  4191. daymaxvalue:
  4192. description: 当日最大转入限制
  4193. type: number
  4194. freezedays:
  4195. description: 冻结天数 [5:花生米转交易]
  4196. type: integer
  4197. innergoodsid:
  4198. description: 内部商品ID[交易]
  4199. type: integer
  4200. inratio:
  4201. description: 目标值
  4202. type: integer
  4203. modifierid:
  4204. description: 修改人
  4205. type: integer
  4206. modifytime:
  4207. description: 修改时间
  4208. type: string
  4209. outergoodscode:
  4210. description: 外部商品代码[JD\PD]
  4211. type: string
  4212. outratio:
  4213. description: 源值
  4214. type: integer
  4215. pddecimalplace:
  4216. description: PD小数位
  4217. type: integer
  4218. timemaxvalue:
  4219. description: 单次最大转入限制
  4220. type: number
  4221. timeminvalue:
  4222. description: 单次最小转入限制
  4223. type: number
  4224. required:
  4225. - converttype
  4226. - innergoodsid
  4227. - outergoodscode
  4228. type: object
  4229. models.Szdz3searchwhitelist:
  4230. properties:
  4231. createtime:
  4232. description: 创建时间
  4233. type: string
  4234. creatorid:
  4235. description: 创建人
  4236. type: integer
  4237. modifierid:
  4238. description: 修改人
  4239. type: integer
  4240. modifytime:
  4241. description: 修改时间
  4242. type: string
  4243. userid:
  4244. description: 用户ID
  4245. type: integer
  4246. required:
  4247. - userid
  4248. type: object
  4249. models.Tablecolumnconfig:
  4250. properties:
  4251. aligntype:
  4252. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  4253. type: integer
  4254. autoid:
  4255. description: AutoID
  4256. type: integer
  4257. columnfield:
  4258. description: 列字段
  4259. type: string
  4260. columntitle:
  4261. description: 列Title
  4262. type: string
  4263. columnwidth:
  4264. description: 列宽
  4265. type: string
  4266. formatterstring:
  4267. description: 格式化字符
  4268. type: string
  4269. formattertype:
  4270. description: 格式化类型
  4271. type: string
  4272. groupname:
  4273. description: 表头分组名称
  4274. type: string
  4275. isshow:
  4276. description: 是否显示 - 0:不显示 1:显示
  4277. type: integer
  4278. needsummary:
  4279. description: 是否需要汇总 - 0:不需要 1:需要
  4280. type: integer
  4281. orderindex:
  4282. description: 顺序
  4283. type: integer
  4284. remark:
  4285. description: 备注
  4286. type: string
  4287. summarytype:
  4288. description: 汇总类型 - 1:加总 2:最后一个
  4289. type: integer
  4290. tablekey:
  4291. description: 列表Key
  4292. type: string
  4293. required:
  4294. - autoid
  4295. type: object
  4296. models.Useraccount:
  4297. properties:
  4298. accountname:
  4299. description: 账户名称(机构名称)
  4300. type: string
  4301. accountstatus:
  4302. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4303. type: integer
  4304. auditremark:
  4305. description: 审核备注
  4306. type: string
  4307. audittime:
  4308. description: 审核时间
  4309. type: string
  4310. audituserid:
  4311. description: 审核人
  4312. type: integer
  4313. broker:
  4314. description: 所属经纪人ID
  4315. type: integer
  4316. canceltime:
  4317. description: 销户时间
  4318. type: string
  4319. canceluserid:
  4320. description: 销户人
  4321. type: integer
  4322. createtime:
  4323. description: 创建时间
  4324. type: string
  4325. creatorid:
  4326. description: 创建人
  4327. type: integer
  4328. hasauth:
  4329. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4330. type: integer
  4331. isanonymous:
  4332. description: 是否匿名下单 - 0:否 1:是
  4333. type: integer
  4334. maxinvestornum:
  4335. description: 最大用户数(经纪会员下投资者个数)
  4336. type: integer
  4337. memberuserid:
  4338. description: 所属会员ID
  4339. type: integer
  4340. modifierid:
  4341. description: 修改人
  4342. type: integer
  4343. modifyremark:
  4344. description: 变更备注
  4345. type: string
  4346. modifystatus:
  4347. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4348. type: integer
  4349. modifytime:
  4350. description: 修改时间
  4351. type: string
  4352. parentuserid:
  4353. description: 所属机构ID
  4354. type: integer
  4355. reckonaccountid:
  4356. description: 默认结算资金账号ID(机构分润使用) 作废
  4357. type: integer
  4358. refercount:
  4359. description: 推荐总人数
  4360. type: integer
  4361. refereeuserid:
  4362. description: 推荐人ID
  4363. type: integer
  4364. refernum:
  4365. description: 推荐码
  4366. type: string
  4367. subarealevelpath:
  4368. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4369. type: string
  4370. userid:
  4371. description: 用户ID
  4372. type: integer
  4373. usertype:
  4374. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4375. type: integer
  4376. required:
  4377. - userid
  4378. type: object
  4379. models.Userfavoritegoods:
  4380. properties:
  4381. goodsid:
  4382. description: 商品ID
  4383. type: integer
  4384. required:
  4385. - goodsid
  4386. type: object
  4387. models.Userinfo:
  4388. properties:
  4389. address:
  4390. description: 地址
  4391. type: string
  4392. attachment1:
  4393. description: 附件1
  4394. type: string
  4395. attachment2:
  4396. description: 附件2
  4397. type: string
  4398. bankaccount:
  4399. description: 银行帐号 (加密存储)
  4400. type: string
  4401. bankaccountname:
  4402. description: 收款人名称
  4403. type: string
  4404. bankcardfrontphotourl:
  4405. description: 银行卡正面照地址
  4406. type: string
  4407. bankid:
  4408. description: 银行编码
  4409. type: string
  4410. bankname:
  4411. description: 银行名称
  4412. type: string
  4413. biznature:
  4414. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4415. type: integer
  4416. bizscope:
  4417. description: 企业经营范围(企业)
  4418. type: string
  4419. cardbackphotourl:
  4420. description: 证件背面图片地址
  4421. type: string
  4422. cardfrontphotourl:
  4423. description: 证件正面图片地址
  4424. type: string
  4425. cardnum:
  4426. description: 证件号码(加密存储)
  4427. type: string
  4428. cardtypeid:
  4429. description: 证件类型ID
  4430. type: integer
  4431. cityid:
  4432. description: 市
  4433. type: integer
  4434. company:
  4435. description: 公司(个人)
  4436. type: string
  4437. contactname:
  4438. description: 联系人
  4439. type: string
  4440. countryid:
  4441. description: 国家
  4442. type: integer
  4443. createtime:
  4444. description: 创建时间
  4445. type: string
  4446. creatorid:
  4447. description: 创建人
  4448. type: integer
  4449. customername:
  4450. description: 客户名称(企业名称)
  4451. type: string
  4452. districtid:
  4453. description: 地区
  4454. type: integer
  4455. email:
  4456. description: 邮件(加密存储)
  4457. type: string
  4458. fax:
  4459. description: 传真(加密存储)
  4460. type: string
  4461. halfbodyphotourl:
  4462. description: 半身照地址
  4463. type: string
  4464. hasencrypt:
  4465. description: 数据是否已加密 - 0:未加密 1:已加密
  4466. type: integer
  4467. headurl:
  4468. description: 头像地址
  4469. type: string
  4470. legalcardbackphotourl:
  4471. description: 法人身份证背面照地址
  4472. type: string
  4473. legalcardfrontphotourl:
  4474. description: 法人身份证正面照地址
  4475. type: string
  4476. legalpersonname:
  4477. description: 法人姓名(企业)
  4478. type: string
  4479. mobile:
  4480. description: 手机号码(加密存储)
  4481. type: string
  4482. mobile2:
  4483. description: 手机号码[明文-尚志]
  4484. type: string
  4485. modifierid:
  4486. description: 修改人
  4487. type: integer
  4488. modifiertime:
  4489. description: 修改时间
  4490. type: string
  4491. needinvoice:
  4492. description: 是否需要发票 - 0:不需要 1:需要
  4493. type: integer
  4494. nickname:
  4495. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  4496. type: string
  4497. openmode:
  4498. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  4499. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  4500. type: integer
  4501. otherurl:
  4502. description: 其它图片地址[使用分号分隔]
  4503. type: string
  4504. postalcode:
  4505. description: 邮政编码
  4506. type: string
  4507. provinceid:
  4508. description: 省
  4509. type: integer
  4510. qq:
  4511. description: QQ(加密存储
  4512. type: string
  4513. remark:
  4514. description: 备注
  4515. type: string
  4516. sex:
  4517. description: '用户性别 0: 女 1: 男'
  4518. type: integer
  4519. signpdfurl:
  4520. description: 签约pdf文件
  4521. type: string
  4522. telphone:
  4523. description: 联系电话(加密存储)
  4524. type: string
  4525. userid:
  4526. description: 用户ID
  4527. type: integer
  4528. userinfotype:
  4529. description: 用户信息类型 - 1:个人 2:企业
  4530. type: integer
  4531. userstatus:
  4532. description: 用户状态 - 1:正常 2:注销
  4533. type: integer
  4534. usertype:
  4535. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4536. type: integer
  4537. wechat:
  4538. description: 微信(加密存储)
  4539. type: string
  4540. wskhinfo:
  4541. description: 开户申请信息(JSON)
  4542. type: string
  4543. required:
  4544. - userid
  4545. type: object
  4546. models.WRCategoryTree:
  4547. properties:
  4548. areauserid:
  4549. description: 所属机构
  4550. type: integer
  4551. categorydesc:
  4552. description: 类别描述
  4553. type: string
  4554. categoryid:
  4555. description: 类别ID(SEQ_WRCATEGORY)
  4556. type: integer
  4557. categoryname:
  4558. description: 类别名称
  4559. type: string
  4560. iconurl:
  4561. description: 图标地址
  4562. type: string
  4563. orderindex:
  4564. description: 顺序
  4565. type: integer
  4566. parentcategoryid:
  4567. description: 父类别ID
  4568. type: integer
  4569. subcategory:
  4570. description: 子分类
  4571. items:
  4572. $ref: '#/definitions/models.WRCategoryTree'
  4573. type: array
  4574. required:
  4575. - categoryid
  4576. type: object
  4577. models.WRStandardInfo:
  4578. properties:
  4579. createtime:
  4580. description: 创建时间
  4581. type: string
  4582. creatorid:
  4583. description: 创建人
  4584. type: integer
  4585. deliverygoodsid:
  4586. description: 品种ID
  4587. type: integer
  4588. deliverygoodsname:
  4589. description: 交割商品名称
  4590. type: string
  4591. factoryitemjson:
  4592. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  4593. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  4594. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  4595. 逗号分隔'
  4596. type: string
  4597. isvalid:
  4598. description: 是否有效 - 0:无效 1:有效
  4599. type: integer
  4600. minivalue:
  4601. description: 最小变动值
  4602. type: integer
  4603. minivaluedp:
  4604. description: 最小变动值小数位
  4605. type: integer
  4606. realminivalue:
  4607. description: 实际最小变动值
  4608. type: integer
  4609. realminivaluedp:
  4610. description: 实际最小变动值小数位
  4611. type: integer
  4612. unitid:
  4613. description: 单位ID
  4614. type: integer
  4615. unitname:
  4616. description: 单位
  4617. type: string
  4618. updatetime:
  4619. description: 更新时间
  4620. type: string
  4621. updatorid:
  4622. description: 更新人
  4623. type: integer
  4624. wrsstatus:
  4625. description: 状态 - 作废 - 0:未激活 1:正常
  4626. type: integer
  4627. wrstandardcode:
  4628. description: 仓单标准代码
  4629. type: string
  4630. wrstandardid:
  4631. description: 仓单标准ID(SEQ_WRSTANDARD)
  4632. type: integer
  4633. wrstandardname:
  4634. description: 仓单标准名称
  4635. type: string
  4636. required:
  4637. - wrstandardid
  4638. type: object
  4639. models.Warehouseinfo:
  4640. properties:
  4641. address:
  4642. description: 详细地址
  4643. type: string
  4644. areauserid:
  4645. description: 所属机构
  4646. type: integer
  4647. autoid:
  4648. description: 自增ID
  4649. type: integer
  4650. cityid:
  4651. description: 市
  4652. type: integer
  4653. contactname:
  4654. description: 联系人
  4655. type: string
  4656. contactnum:
  4657. description: 联系电话
  4658. type: string
  4659. countryid:
  4660. description: 国家
  4661. type: integer
  4662. createtime:
  4663. description: 创建时间
  4664. type: string
  4665. districtid:
  4666. description: 区
  4667. type: integer
  4668. hasvideo:
  4669. description: 是否有视频 - 0:无 1:有
  4670. type: integer
  4671. provinceid:
  4672. description: 省
  4673. type: integer
  4674. remark:
  4675. description: 审核备注
  4676. type: string
  4677. videourl:
  4678. description: 视频地址
  4679. type: string
  4680. warehousecode:
  4681. description: 仓库代码
  4682. type: string
  4683. warehousename:
  4684. description: 仓库名称
  4685. type: string
  4686. warehousestatus:
  4687. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4688. type: integer
  4689. warehousetype:
  4690. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4691. type: integer
  4692. required:
  4693. - autoid
  4694. - warehousecode
  4695. type: object
  4696. order.QueryHisTradeDetailRsp:
  4697. properties:
  4698. accountid:
  4699. description: 账户ID[报价币种]
  4700. type: integer
  4701. buildtype:
  4702. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4703. type: integer
  4704. buyorsell:
  4705. description: 方向 - 0:买 1:卖
  4706. type: integer
  4707. charge:
  4708. description: 手续费
  4709. type: number
  4710. closecharge:
  4711. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4712. type: number
  4713. closeexchagechargevalue:
  4714. description: 平仓交易所手续费设置值
  4715. type: number
  4716. closefeealgorithm:
  4717. description: 平仓手续费收取方式 1:比率 2:固定
  4718. type: integer
  4719. closememberchargevalue:
  4720. description: 平仓会员手续费设置值
  4721. type: number
  4722. closepl:
  4723. description: 平仓盈亏
  4724. type: number
  4725. closepl2:
  4726. description: 平仓盈亏[逐笔]
  4727. type: number
  4728. closeqty:
  4729. description: 平仓数量(先建后平操作 需要记录)
  4730. type: integer
  4731. creditamount:
  4732. description: 授信金额
  4733. type: number
  4734. gcaccountid:
  4735. description: 账户ID[合约币种]
  4736. type: integer
  4737. goodscode:
  4738. description: 商品代码
  4739. type: string
  4740. goodsid:
  4741. description: 商品ID
  4742. type: integer
  4743. goodsname:
  4744. description: 商品名称
  4745. type: string
  4746. histradedate:
  4747. description: 历史交易日
  4748. type: string
  4749. intclosepl:
  4750. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4751. type: integer
  4752. isconfirmexercise:
  4753. description: 是否确认行权- 0:否 1:是
  4754. type: integer
  4755. ismain:
  4756. description: 是否主单 - 0:不是 1:是
  4757. type: integer
  4758. ispreexercise:
  4759. description: 是否预申报- 0:否 1:是
  4760. type: integer
  4761. isreckoned:
  4762. description: 是否结算 - 0:未结算 1:已结算
  4763. type: integer
  4764. isvaliddata:
  4765. description: 是否有效 - 0:无效 1:有效
  4766. type: integer
  4767. listingselecttype:
  4768. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4769. type: integer
  4770. marketid:
  4771. description: 市场ID
  4772. type: integer
  4773. marketname:
  4774. description: 市场名称
  4775. type: string
  4776. matchaccountid:
  4777. description: 对手账号id
  4778. type: integer
  4779. memberuserid:
  4780. description: 会员id 个人投资者 需要填写
  4781. type: integer
  4782. opencharge:
  4783. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4784. type: number
  4785. openexchagechargevalue:
  4786. description: 建仓交易所手续费设置值
  4787. type: number
  4788. openfeealgorithm:
  4789. description: 建仓手续费收取方式 1:比率 2:固定
  4790. type: integer
  4791. openmemberchargevalue:
  4792. description: 建仓会员手续费设置值
  4793. type: number
  4794. openqty:
  4795. description: 开仓数量(先建后平操作 需要记录)
  4796. type: integer
  4797. optiontype:
  4798. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4799. type: integer
  4800. orderid:
  4801. description: 委托单号
  4802. type: string
  4803. performanceplanid:
  4804. description: 履约计划ID[期权]
  4805. type: integer
  4806. performancestatus:
  4807. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4808. type: integer
  4809. preexerciseprice:
  4810. description: 预申报价格
  4811. type: number
  4812. premium:
  4813. description: 权利金 - [持仓单的权利金]
  4814. type: number
  4815. relatedouttradeid:
  4816. description: 关联外部成交单ID
  4817. type: integer
  4818. status:
  4819. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4820. type: integer
  4821. tradeamount:
  4822. description: 成交金额[账户币种,用于所有权]
  4823. type: number
  4824. tradedate:
  4825. description: 交易日(yyyyMMdd)
  4826. type: string
  4827. tradeid:
  4828. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4829. type: string
  4830. trademode:
  4831. description: 交易模式
  4832. type: integer
  4833. tradeprice:
  4834. description: 成交价格
  4835. type: number
  4836. tradeproperty:
  4837. description: 交易属性
  4838. type: integer
  4839. tradeqty:
  4840. description: 成交数量
  4841. type: integer
  4842. tradetime:
  4843. description: 成交时间
  4844. type: string
  4845. tradetype:
  4846. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4847. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4848. type: integer
  4849. required:
  4850. - accountid
  4851. - buyorsell
  4852. - goodsid
  4853. - histradedate
  4854. - marketid
  4855. - memberuserid
  4856. - orderid
  4857. - tradeamount
  4858. - tradedate
  4859. - tradeid
  4860. - tradeprice
  4861. - tradeqty
  4862. - tradetime
  4863. type: object
  4864. order.QueryHisTradeOrderDetailRsp:
  4865. properties:
  4866. accountid:
  4867. description: 账户ID[报价币种]
  4868. type: integer
  4869. buildtype:
  4870. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4871. type: integer
  4872. buyorsell:
  4873. description: 买卖 - 0:买 1:卖
  4874. type: integer
  4875. cancelorderid:
  4876. description: 撤单单号(撤单时填写)
  4877. type: string
  4878. cancelqty:
  4879. description: 撤单数量
  4880. type: integer
  4881. clientordertime:
  4882. description: 客户端委托时间
  4883. type: string
  4884. clientticket:
  4885. description: 客户端流水号
  4886. type: string
  4887. clienttype:
  4888. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4889. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4890. type: integer
  4891. closeexchagechargevalue:
  4892. description: 平仓交易所手续费设置值
  4893. type: number
  4894. closefeealgorithm:
  4895. description: 平仓手续费收取方式 1:比率 2:固定
  4896. type: integer
  4897. closefreezecharge:
  4898. description: 平仓冻结手续费(先建后平操作,需要记录)
  4899. type: number
  4900. closememberchargevalue:
  4901. description: 平仓会员手续费设置值
  4902. type: number
  4903. closeqty:
  4904. description: 平仓数量(先建后平操作 需要记录)
  4905. type: integer
  4906. closetradeqty:
  4907. description: 平仓成交数量(先建后平操作,需要记录)
  4908. type: integer
  4909. closeunfreezecharge:
  4910. description: 平仓解冻手续费(先建后平操作,需要记录)
  4911. type: number
  4912. delistingtype:
  4913. description: 摘牌类型 - 1:价格最优 2:点选成交
  4914. type: integer
  4915. freezecharge:
  4916. description: 冻结手续费
  4917. type: number
  4918. freezemargin:
  4919. description: 冻结保证金(冻结交易金额)
  4920. type: number
  4921. gcaccountid:
  4922. description: 账户ID[合约币种]
  4923. type: integer
  4924. goodscode:
  4925. description: 商品代码
  4926. type: string
  4927. goodsid:
  4928. description: 商品ID
  4929. type: integer
  4930. goodsname:
  4931. description: 商品名称
  4932. type: string
  4933. histradedate:
  4934. description: 历史交易日
  4935. type: string
  4936. isconfirmexercise:
  4937. description: 是否确认行权- 0:否 1:是
  4938. type: integer
  4939. ispreexercise:
  4940. description: 是否预申报- 0:否 1:是
  4941. type: integer
  4942. isvaliddata:
  4943. description: 是否有效 - 0:无效 1:有效
  4944. type: integer
  4945. listingselecttype:
  4946. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4947. type: integer
  4948. marginalgorithm:
  4949. description: 保证金收取方式 1:比率 2:固定
  4950. type: integer
  4951. marginvalue:
  4952. description: 即市保证金设置值
  4953. type: number
  4954. marketid:
  4955. description: 市场ID
  4956. type: integer
  4957. marketmaxsub:
  4958. description: 市价最大偏移范围
  4959. type: number
  4960. marketname:
  4961. description: 市场名称
  4962. type: string
  4963. memberuserid:
  4964. description: 所属会员UserID
  4965. type: integer
  4966. openexchagechargevalue:
  4967. description: 建仓交易所手续费设置值
  4968. type: number
  4969. openfeealgorithm:
  4970. description: 建仓手续费收取方式 1:比率 2:固定
  4971. type: integer
  4972. openfreezecharge:
  4973. description: 开仓冻结手续费(先建后平操作,需要记录)
  4974. type: number
  4975. openmemberchargevalue:
  4976. description: 建仓会员手续费设置值
  4977. type: number
  4978. openqty:
  4979. description: 开仓数量(先建后平操作,需要记录)
  4980. type: integer
  4981. opentradeqty:
  4982. description: 开仓成交数量(先建后平操作,需要记录)
  4983. type: integer
  4984. openunfreezecharge:
  4985. description: 开仓解冻手续费(先建后平操作,需要记录)
  4986. type: number
  4987. operatetype:
  4988. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4989. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4990. 15:管理端协议转让
  4991. type: integer
  4992. operatorid:
  4993. description: 登录账号(LoginID)
  4994. type: integer
  4995. optiontype:
  4996. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4997. type: integer
  4998. orderid:
  4999. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5000. type: string
  5001. orderprice:
  5002. description: 委托价格
  5003. type: number
  5004. orderqty:
  5005. description: 委托数量
  5006. type: integer
  5007. ordersrc:
  5008. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5009. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5010. type: integer
  5011. orderstatus:
  5012. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5013. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5014. 16:成交失败违约(荷兰式竞拍专用)
  5015. type: integer
  5016. ordertime:
  5017. description: 委托时间
  5018. type: string
  5019. preexerciseprice:
  5020. description: 预申报价格
  5021. type: number
  5022. premium:
  5023. description: 权利金
  5024. type: number
  5025. preorderid:
  5026. description: 关联预埋单号(止盈止损单时填写)
  5027. type: string
  5028. pricemode:
  5029. description: '取价方式 - 1:市价 2: 限价'
  5030. type: integer
  5031. quoteid:
  5032. description: 报价单ID
  5033. type: integer
  5034. relatedid:
  5035. description: 关联单号(交割单)
  5036. type: string
  5037. retcode:
  5038. description: 错误代码
  5039. type: integer
  5040. sessionid:
  5041. description: 会话ID
  5042. type: integer
  5043. tradedate:
  5044. description: 交易日(yyyyMMdd)
  5045. type: string
  5046. trademode:
  5047. description: 交易模式
  5048. type: integer
  5049. tradeproperty:
  5050. description: 交易属性
  5051. type: integer
  5052. tradeqty:
  5053. description: 成交数量
  5054. type: integer
  5055. unfreezecharge:
  5056. description: 解冻手续费
  5057. type: number
  5058. unfreezemargin:
  5059. description: 解冻保证金
  5060. type: number
  5061. updatetime:
  5062. description: 更新时间
  5063. type: string
  5064. uuid:
  5065. description: 发起端唯一id
  5066. type: string
  5067. validtime:
  5068. description: 有效期限
  5069. type: string
  5070. validtype:
  5071. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5072. type: integer
  5073. volumetype:
  5074. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5075. type: integer
  5076. required:
  5077. - accountid
  5078. - buildtype
  5079. - buyorsell
  5080. - goodsid
  5081. - histradedate
  5082. - marketid
  5083. - memberuserid
  5084. - operatetype
  5085. - orderid
  5086. - orderqty
  5087. - ordertime
  5088. - pricemode
  5089. - tradedate
  5090. - validtype
  5091. type: object
  5092. order.QueryTradeDetailRsp:
  5093. properties:
  5094. accountid:
  5095. description: 账户ID[报价币种]
  5096. type: integer
  5097. buildtype:
  5098. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5099. type: integer
  5100. buyorsell:
  5101. description: 方向 - 0:买 1:卖
  5102. type: integer
  5103. charge:
  5104. description: 手续费
  5105. type: number
  5106. closecharge:
  5107. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5108. type: number
  5109. closeexchagechargevalue:
  5110. description: 平仓交易所手续费设置值
  5111. type: number
  5112. closefeealgorithm:
  5113. description: 平仓手续费收取方式 1:比率 2:固定
  5114. type: integer
  5115. closememberchargevalue:
  5116. description: 平仓会员手续费设置值
  5117. type: number
  5118. closepl:
  5119. description: 平仓盈亏
  5120. type: number
  5121. closepl2:
  5122. description: 平仓盈亏[逐笔]
  5123. type: number
  5124. closeqty:
  5125. description: 平仓数量(先建后平操作 需要记录)
  5126. type: integer
  5127. creditamount:
  5128. description: 授信金额
  5129. type: number
  5130. gcaccountid:
  5131. description: 账户ID[合约币种]
  5132. type: integer
  5133. goodscode:
  5134. description: 商品代码
  5135. type: string
  5136. goodsid:
  5137. description: 商品ID
  5138. type: integer
  5139. goodsname:
  5140. description: 商品名称
  5141. type: string
  5142. intclosepl:
  5143. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5144. type: integer
  5145. isconfirmexercise:
  5146. description: 是否确认行权- 0:否 1:是
  5147. type: integer
  5148. ismain:
  5149. description: 是否主单 - 0:不是 1:是
  5150. type: integer
  5151. ispreexercise:
  5152. description: 是否预申报- 0:否 1:是
  5153. type: integer
  5154. isreckoned:
  5155. description: 是否结算 - 0:未结算 1:已结算
  5156. type: integer
  5157. listingselecttype:
  5158. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5159. type: integer
  5160. marketid:
  5161. description: 市场ID
  5162. type: integer
  5163. marketname:
  5164. description: 市场名称
  5165. type: string
  5166. matchaccountid:
  5167. description: 对手账号id
  5168. type: integer
  5169. memberuserid:
  5170. description: 会员id 个人投资者 需要填写
  5171. type: integer
  5172. opencharge:
  5173. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5174. type: number
  5175. openexchagechargevalue:
  5176. description: 建仓交易所手续费设置值
  5177. type: number
  5178. openfeealgorithm:
  5179. description: 建仓手续费收取方式 1:比率 2:固定
  5180. type: integer
  5181. openmemberchargevalue:
  5182. description: 建仓会员手续费设置值
  5183. type: number
  5184. openqty:
  5185. description: 开仓数量(先建后平操作 需要记录)
  5186. type: integer
  5187. optiontype:
  5188. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5189. type: integer
  5190. orderid:
  5191. description: 委托单号
  5192. type: string
  5193. performanceplanid:
  5194. description: 履约计划ID[期权]
  5195. type: integer
  5196. performancestatus:
  5197. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5198. type: integer
  5199. preexerciseprice:
  5200. description: 预申报价格
  5201. type: number
  5202. premium:
  5203. description: 权利金 - [持仓单的权利金]
  5204. type: number
  5205. relatedouttradeid:
  5206. description: 关联外部成交单ID
  5207. type: integer
  5208. status:
  5209. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5210. type: integer
  5211. tradeamount:
  5212. description: 成交金额[账户币种,用于所有权]
  5213. type: number
  5214. tradedate:
  5215. description: 交易日(yyyyMMdd)
  5216. type: string
  5217. tradeid:
  5218. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5219. type: string
  5220. trademode:
  5221. description: 交易模式
  5222. type: integer
  5223. tradeprice:
  5224. description: 成交价格
  5225. type: number
  5226. tradeproperty:
  5227. description: 交易属性
  5228. type: integer
  5229. tradeqty:
  5230. description: 成交数量
  5231. type: integer
  5232. tradetime:
  5233. description: 成交时间
  5234. type: string
  5235. tradetype:
  5236. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5237. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5238. type: integer
  5239. required:
  5240. - accountid
  5241. - buyorsell
  5242. - goodsid
  5243. - marketid
  5244. - memberuserid
  5245. - orderid
  5246. - tradeamount
  5247. - tradedate
  5248. - tradeid
  5249. - tradeprice
  5250. - tradeqty
  5251. - tradetime
  5252. type: object
  5253. order.QueryTradeOrderDetailRsp:
  5254. properties:
  5255. accountid:
  5256. description: 账户ID[报价币种]
  5257. type: integer
  5258. buildtype:
  5259. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5260. type: integer
  5261. buyorsell:
  5262. description: 买卖 - 0:买 1:卖
  5263. type: integer
  5264. cancelorderid:
  5265. description: 撤单单号(撤单时填写)
  5266. type: string
  5267. cancelqty:
  5268. description: 撤单数量
  5269. type: integer
  5270. clienttype:
  5271. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5272. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5273. type: integer
  5274. closefreezecharge:
  5275. description: 平仓冻结手续费(先建后平操作,需要记录)
  5276. type: number
  5277. closeqty:
  5278. description: 平仓数量(先建后平操作 需要记录)
  5279. type: integer
  5280. closetradeqty:
  5281. description: 平仓成交数量(先建后平操作,需要记录)
  5282. type: integer
  5283. closeunfreezecharge:
  5284. description: 平仓解冻手续费(先建后平操作,需要记录)
  5285. type: number
  5286. delistingtype:
  5287. description: 摘牌类型 - 1:价格最优 2:点选成交
  5288. type: integer
  5289. enableqty:
  5290. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  5291. type: integer
  5292. freezecharge:
  5293. description: 冻结手续费
  5294. type: number
  5295. freezemargin:
  5296. description: 冻结保证金(冻结交易金额)
  5297. type: number
  5298. goodscode:
  5299. description: 商品代码
  5300. type: string
  5301. goodsid:
  5302. description: 商品ID
  5303. type: integer
  5304. goodsname:
  5305. description: 商品名称
  5306. type: string
  5307. listingselecttype:
  5308. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5309. type: integer
  5310. marketid:
  5311. description: 市场ID
  5312. type: integer
  5313. marketname:
  5314. description: 市场名称
  5315. type: string
  5316. openfreezecharge:
  5317. description: 开仓冻结手续费(先建后平操作,需要记录)
  5318. type: number
  5319. openqty:
  5320. description: 开仓数量(先建后平操作,需要记录)
  5321. type: integer
  5322. opentradeqty:
  5323. description: 开仓成交数量(先建后平操作,需要记录)
  5324. type: integer
  5325. openunfreezecharge:
  5326. description: 开仓解冻手续费(先建后平操作,需要记录)
  5327. type: number
  5328. operatetype:
  5329. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5330. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5331. 15:管理端协议转让
  5332. type: integer
  5333. operatorid:
  5334. description: 登录账号(LoginID)
  5335. type: integer
  5336. orderid:
  5337. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5338. type: string
  5339. orderprice:
  5340. description: 委托价格
  5341. type: number
  5342. orderqty:
  5343. description: 委托数量
  5344. type: integer
  5345. ordersrc:
  5346. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5347. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5348. type: integer
  5349. orderstatus:
  5350. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5351. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5352. 16:成交失败违约(荷兰式竞拍专用)
  5353. type: integer
  5354. ordertime:
  5355. description: 委托时间
  5356. type: string
  5357. preorderid:
  5358. description: 关联预埋单号(止盈止损单时填写)
  5359. type: string
  5360. pricemode:
  5361. description: '取价方式 - 1:市价 2: 限价'
  5362. type: integer
  5363. relatedid:
  5364. description: 关联单号(交割单)
  5365. type: string
  5366. tradedate:
  5367. description: 交易日(yyyyMMdd)
  5368. type: string
  5369. trademode:
  5370. description: 交易模式
  5371. type: integer
  5372. tradeqty:
  5373. description: 成交数量
  5374. type: integer
  5375. unfreezecharge:
  5376. description: 解冻手续费
  5377. type: number
  5378. unfreezemargin:
  5379. description: 解冻保证金
  5380. type: number
  5381. validtime:
  5382. description: 有效期限
  5383. type: string
  5384. validtype:
  5385. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5386. type: integer
  5387. volumetype:
  5388. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5389. type: integer
  5390. required:
  5391. - accountid
  5392. - buildtype
  5393. - buyorsell
  5394. - goodsid
  5395. - marketid
  5396. - operatetype
  5397. - orderqty
  5398. - ordertime
  5399. - pricemode
  5400. - tradedate
  5401. - validtype
  5402. type: object
  5403. order.QueryTradePositionRsp:
  5404. properties:
  5405. accountid:
  5406. description: 资金账户
  5407. type: integer
  5408. agreeunit:
  5409. description: 合约单位
  5410. type: number
  5411. averageprice:
  5412. description: 持仓均价
  5413. type: number
  5414. buyorsell:
  5415. description: 方向 - 0:买 1:卖
  5416. type: integer
  5417. closetotalqty:
  5418. description: 平仓总数量
  5419. type: integer
  5420. curholderamount:
  5421. description: 当前持仓总金额[商品币种]
  5422. type: number
  5423. curpositionqty:
  5424. description: 当前持仓总数量
  5425. type: integer
  5426. currencyid:
  5427. description: 报价货币ID
  5428. type: integer
  5429. curtdposition:
  5430. description: 期末今日头寸
  5431. type: integer
  5432. decimalplace:
  5433. description: 报价小数位
  5434. type: integer
  5435. enableqty:
  5436. description: 可用量
  5437. type: integer
  5438. fretdposition:
  5439. description: 冻结今日头寸
  5440. type: integer
  5441. frozenqty:
  5442. description: 持仓冻结数量
  5443. type: integer
  5444. goodscode:
  5445. description: 商品代码
  5446. type: string
  5447. goodsid:
  5448. description: 商品Id
  5449. type: integer
  5450. goodsname:
  5451. description: 商品名称
  5452. type: string
  5453. goodunit:
  5454. description: 报价单位
  5455. type: string
  5456. goodunitid:
  5457. description: 报价单位ID
  5458. type: integer
  5459. holderamount:
  5460. description: 期初持仓总金额[商品币种]
  5461. type: number
  5462. marketid:
  5463. description: 所属市场ID
  5464. type: integer
  5465. openreqqty:
  5466. description: 开仓申请数量(用于比较最大持仓数量)
  5467. type: integer
  5468. opentotalqty:
  5469. description: 开仓总数量
  5470. type: integer
  5471. otherfrozenqty:
  5472. description: 持仓其他冻结数量(交割冻结)
  5473. type: integer
  5474. positionqty:
  5475. description: 期初持仓数量
  5476. type: integer
  5477. tnqty:
  5478. description: T+N冻结总量
  5479. type: integer
  5480. tnusedqty:
  5481. description: T+N使用量(可以使用T+N的冻结数量)
  5482. type: integer
  5483. trademode:
  5484. description: 交易模式
  5485. type: integer
  5486. usedmargin:
  5487. description: 占用保证金[商品币种]
  5488. type: number
  5489. required:
  5490. - goodsid
  5491. type: object
  5492. quote.HistoryData:
  5493. properties:
  5494. c:
  5495. description: 收盘价
  5496. type: number
  5497. h:
  5498. description: 最高价
  5499. type: number
  5500. hv:
  5501. description: 持仓量
  5502. type: integer
  5503. l:
  5504. description: 最低价
  5505. type: number
  5506. o:
  5507. description: 开盘价
  5508. type: number
  5509. s:
  5510. description: 结算价,日线周期(包括)以上才有
  5511. type: number
  5512. ts:
  5513. description: 时间
  5514. type: string
  5515. tt:
  5516. description: 总金额
  5517. type: number
  5518. tv:
  5519. description: 总量
  5520. type: integer
  5521. type: object
  5522. quote.QueryTSDataRsp:
  5523. properties:
  5524. decimalPlace:
  5525. description: 小数位
  5526. type: integer
  5527. endTime:
  5528. description: 结束时间
  5529. type: string
  5530. goodsCode:
  5531. description: 商品代码
  5532. type: string
  5533. historyDatas:
  5534. description: 历史数据
  5535. items:
  5536. $ref: '#/definitions/quote.HistoryData'
  5537. type: array
  5538. preSettle:
  5539. description: 昨结
  5540. type: number
  5541. startTime:
  5542. description: 开始时间
  5543. type: string
  5544. tradeDate:
  5545. description: 交易日
  5546. type: string
  5547. type: object
  5548. szdz.QueryConvertLogRsp:
  5549. properties:
  5550. accountid:
  5551. description: 资金账户ID
  5552. type: integer
  5553. clientticket:
  5554. description: 客户端流水号
  5555. type: string
  5556. converttype:
  5557. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  5558. type: integer
  5559. createtime:
  5560. description: 记账时间
  5561. type: string
  5562. daymaxvalue:
  5563. description: 配置当日最大转入限制
  5564. type: number
  5565. daymaxvalue2:
  5566. description: 配置当日最大转入限制(转入)
  5567. type: number
  5568. goodscode:
  5569. description: 商品代码
  5570. type: string
  5571. goodsname:
  5572. description: 商品名称
  5573. type: string
  5574. handlestatus:
  5575. description: 处理状态
  5576. type: integer
  5577. innergoodsid:
  5578. description: 内部商品ID
  5579. type: integer
  5580. inratio:
  5581. description: 配置转入比值
  5582. type: integer
  5583. invalue:
  5584. description: 目标值
  5585. type: number
  5586. logid:
  5587. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5588. type: integer
  5589. mobile:
  5590. description: 手机号码(加密存储)
  5591. type: string
  5592. outergoodscode:
  5593. description: 外部商品代码[JD\PD]
  5594. type: string
  5595. outratio:
  5596. description: 配置转出比值
  5597. type: integer
  5598. outvalue:
  5599. description: 源值
  5600. type: number
  5601. pddecimalplace:
  5602. description: PD小数位
  5603. type: integer
  5604. qty:
  5605. description: 数量
  5606. type: string
  5607. remark:
  5608. description: 备注
  5609. type: string
  5610. sessionid:
  5611. description: 会话ID
  5612. type: integer
  5613. timemaxvalue:
  5614. description: 配置单次最大转入限制
  5615. type: number
  5616. timemaxvalue2:
  5617. description: 配置单次最大转入限制(转入)
  5618. type: number
  5619. timeminvalue:
  5620. description: 配置单次最小数量限制
  5621. type: number
  5622. timeminvalue2:
  5623. description: 配置单次最小数量限制(转入)
  5624. type: number
  5625. tradedate:
  5626. description: 交易日(yyyyMMdd)
  5627. type: string
  5628. userid:
  5629. description: 用户ID
  5630. type: integer
  5631. required:
  5632. - logid
  5633. type: object
  5634. szdz.QueryGoodsPickupRsp:
  5635. properties:
  5636. accountid:
  5637. description: 账户ID
  5638. type: integer
  5639. address:
  5640. description: 提货人详细地址
  5641. type: string
  5642. auditer:
  5643. description: 审核人
  5644. type: integer
  5645. audittime:
  5646. description: 审核时间
  5647. type: string
  5648. cardnum:
  5649. description: 提货人证件号码
  5650. type: string
  5651. cardtypeid:
  5652. description: 提货人证件类型
  5653. type: integer
  5654. checkremark:
  5655. description: 审核备注
  5656. type: string
  5657. goodscode:
  5658. description: 商品代码
  5659. type: string
  5660. goodsid:
  5661. description: 商品ID
  5662. type: integer
  5663. goodsname:
  5664. description: 商品名称
  5665. type: string
  5666. handlestatus:
  5667. description: 处理状态
  5668. type: integer
  5669. marketid:
  5670. description: 市场ID
  5671. type: integer
  5672. phonenum:
  5673. description: 提货人联系方式
  5674. type: string
  5675. qty:
  5676. description: 提货数量
  5677. type: number
  5678. recivername:
  5679. description: 提货人姓名
  5680. type: string
  5681. reqtime:
  5682. description: 更新时间
  5683. type: string
  5684. takemode:
  5685. description: 提货方式 - 2:自提 3:配送
  5686. type: integer
  5687. takeorderid:
  5688. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5689. type: string
  5690. takeorderstatus:
  5691. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5692. type: integer
  5693. takeremark:
  5694. description: 提货备注
  5695. type: string
  5696. tradedate:
  5697. description: 交易日(yyyyMMdd)
  5698. type: string
  5699. userid:
  5700. description: 用户ID
  5701. type: integer
  5702. required:
  5703. - takeorderid
  5704. type: object
  5705. szdz.QueryRecieptOrderRsp:
  5706. properties:
  5707. accountName:
  5708. description: 所属账号名称(已脱敏)
  5709. type: string
  5710. accountid:
  5711. description: 资金账号
  5712. type: integer
  5713. buyorsell:
  5714. description: 方向 - 0:买 1:卖
  5715. type: integer
  5716. enableqty:
  5717. description: 可摘数量
  5718. type: integer
  5719. goodscode:
  5720. description: 商品代码
  5721. type: string
  5722. goodsid:
  5723. description: 商品ID
  5724. type: integer
  5725. goodsname:
  5726. description: 商品名称
  5727. type: string
  5728. orderid:
  5729. description: 委托单号
  5730. type: string
  5731. orderprice:
  5732. description: 委托价格
  5733. type: number
  5734. ordertime:
  5735. description: 委托时间
  5736. type: string
  5737. tradedate:
  5738. description: 交易日(yyyyMMdd)
  5739. type: string
  5740. required:
  5741. - ordertime
  5742. type: object
  5743. szdz.QuerySZDZTradePositionRsp:
  5744. properties:
  5745. accountid:
  5746. description: 账号Id
  5747. type: integer
  5748. agreeunit:
  5749. description: 合约单位
  5750. type: number
  5751. averageprice:
  5752. description: 持仓均价
  5753. type: number
  5754. buyorsell:
  5755. description: 方向 - 0:买 1:卖
  5756. type: integer
  5757. closetotalqty:
  5758. description: 平仓总数量
  5759. type: integer
  5760. curholderamount:
  5761. description: 当前持仓总金额
  5762. type: number
  5763. curpositionqty:
  5764. description: 当前持仓总数量
  5765. type: integer
  5766. currencyid:
  5767. description: 报价货币ID
  5768. type: integer
  5769. curtdposition:
  5770. description: 期末今日头寸
  5771. type: integer
  5772. decimalplace:
  5773. description: 报价小数位
  5774. type: integer
  5775. enableqty:
  5776. description: 可用量
  5777. type: integer
  5778. fretdposition:
  5779. description: 冻结今日头寸
  5780. type: integer
  5781. frozenqty:
  5782. description: 持仓冻结数量
  5783. type: integer
  5784. goodscode:
  5785. description: 商品代码(内部)
  5786. type: string
  5787. goodsid:
  5788. description: 商品Id
  5789. type: integer
  5790. goodsname:
  5791. description: 商品名称
  5792. type: string
  5793. goodunit:
  5794. description: 报价单位
  5795. type: string
  5796. goodunitid:
  5797. description: 报价单位ID
  5798. type: integer
  5799. holderamount:
  5800. description: 期初持仓总金额
  5801. type: number
  5802. marketid:
  5803. description: 市场ID
  5804. type: integer
  5805. openreqqty:
  5806. description: 开仓申请数量
  5807. type: integer
  5808. opentotalqty:
  5809. description: 开仓总数量
  5810. type: integer
  5811. otherfrozenqty:
  5812. description: 持仓其他冻结数量(交割冻结)
  5813. type: integer
  5814. positionqty:
  5815. description: 期初持仓数量
  5816. type: integer
  5817. szdz3freezqty:
  5818. description: 尚志大宗转换冻结总数量
  5819. type: integer
  5820. tnqty:
  5821. description: T+N冻结总量
  5822. type: integer
  5823. tnusedqty:
  5824. description: T+N使用量
  5825. type: integer
  5826. trademode:
  5827. description: 交易模式
  5828. type: integer
  5829. usedmargin:
  5830. description: 占用保证金
  5831. type: number
  5832. type: object
  5833. taaccount.QueryAmountLogRsp:
  5834. properties:
  5835. OPERATETYPENAME:
  5836. description: 资金操作类型名称
  5837. type: string
  5838. accountid:
  5839. description: 资金账户ID
  5840. type: integer
  5841. agoodscode:
  5842. description: 竞拍商品代码
  5843. type: string
  5844. agoodsname:
  5845. description: 竞拍商品名称
  5846. type: string
  5847. amount:
  5848. description: 资金金额
  5849. type: number
  5850. amountadjusttype:
  5851. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5852. type: integer
  5853. autoid:
  5854. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5855. type: integer
  5856. balance:
  5857. description: 期初余额
  5858. type: number
  5859. businesscode:
  5860. description: 业务编号
  5861. type: integer
  5862. createtime:
  5863. description: 发生时间
  5864. type: string
  5865. currencyid:
  5866. description: 币种ID
  5867. type: integer
  5868. currentbalance:
  5869. description: 期末余额(变动后金额)
  5870. type: number
  5871. dgoodscode:
  5872. description: 交割商品代码
  5873. type: string
  5874. dgoodsname:
  5875. description: 交割商品名称
  5876. type: string
  5877. goodscode:
  5878. description: 商品代码
  5879. type: string
  5880. goodsid:
  5881. description: 商品ID
  5882. type: integer
  5883. goodsname:
  5884. description: 商品名称
  5885. type: string
  5886. marketid:
  5887. description: 市场ID
  5888. type: integer
  5889. marketname:
  5890. description: 市场名称
  5891. type: string
  5892. moneyticket:
  5893. description: 资金流水号:银行端流水号
  5894. type: integer
  5895. operatetype:
  5896. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5897. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5898. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5899. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5900. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5901. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5902. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5903. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5904. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5905. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5906. type: integer
  5907. relationorderid:
  5908. description: 关联单号
  5909. type: string
  5910. remark:
  5911. description: 备注
  5912. type: string
  5913. trademode:
  5914. description: 交易模式
  5915. type: integer
  5916. required:
  5917. - accountid
  5918. - amount
  5919. - amountadjusttype
  5920. - autoid
  5921. - balance
  5922. - createtime
  5923. - currentbalance
  5924. - operatetype
  5925. type: object
  5926. taaccount.QueryHisAmountLogRsp:
  5927. properties:
  5928. OPERATETYPENAME:
  5929. description: 资金操作类型名称
  5930. type: string
  5931. accountid:
  5932. description: 资金账户ID
  5933. type: integer
  5934. agoodscode:
  5935. description: 竞拍商品代码
  5936. type: string
  5937. agoodsname:
  5938. description: 竞拍商品名称
  5939. type: string
  5940. amount:
  5941. description: 资金金额
  5942. type: number
  5943. amountadjusttype:
  5944. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5945. type: integer
  5946. autoid:
  5947. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5948. type: integer
  5949. balance:
  5950. description: 期初余额
  5951. type: number
  5952. businesscode:
  5953. description: 业务编号
  5954. type: integer
  5955. createtime:
  5956. description: 发生时间
  5957. type: string
  5958. currencyid:
  5959. description: 币种ID
  5960. type: integer
  5961. currentbalance:
  5962. description: 期末余额(变动后金额)
  5963. type: number
  5964. dgoodscode:
  5965. description: 交割商品代码
  5966. type: string
  5967. dgoodsname:
  5968. description: 交割商品名称
  5969. type: string
  5970. goodscode:
  5971. description: 商品代码
  5972. type: string
  5973. goodsid:
  5974. description: 商品ID
  5975. type: integer
  5976. goodsname:
  5977. description: 商品名称
  5978. type: string
  5979. histradedate:
  5980. description: 历史交易日
  5981. type: string
  5982. isvaliddata:
  5983. description: 是否有效 - 0:无效 1:有效
  5984. type: integer
  5985. marketid:
  5986. description: 市场ID
  5987. type: integer
  5988. marketname:
  5989. description: 市场名称
  5990. type: string
  5991. moneyticket:
  5992. description: 资金流水号:银行端流水号
  5993. type: integer
  5994. operatetype:
  5995. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5996. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5997. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5998. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5999. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6000. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6001. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6002. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6003. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6004. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6005. type: integer
  6006. relationorderid:
  6007. description: 关联单号
  6008. type: string
  6009. remark:
  6010. description: 备注
  6011. type: string
  6012. trademode:
  6013. description: 交易模式
  6014. type: integer
  6015. required:
  6016. - accountid
  6017. - amount
  6018. - amountadjusttype
  6019. - autoid
  6020. - balance
  6021. - createtime
  6022. - currentbalance
  6023. - histradedate
  6024. - operatetype
  6025. type: object
  6026. trade.QueryRecieptOrderRsp:
  6027. properties:
  6028. accountName:
  6029. description: 所属账号名称(已脱敏)
  6030. type: string
  6031. accountid:
  6032. description: 资金账号
  6033. type: integer
  6034. buyorsell:
  6035. description: 方向 - 0:买 1:卖
  6036. type: integer
  6037. enableqty:
  6038. description: 可摘数量
  6039. type: integer
  6040. goodscode:
  6041. description: 商品代码
  6042. type: string
  6043. goodsid:
  6044. description: 商品ID
  6045. type: integer
  6046. goodsname:
  6047. description: 商品名称
  6048. type: string
  6049. orderid:
  6050. description: 委托单号
  6051. type: string
  6052. orderprice:
  6053. description: 委托价格
  6054. type: number
  6055. ordertime:
  6056. description: 委托时间
  6057. type: string
  6058. tradedate:
  6059. description: 交易日(yyyyMMdd)
  6060. type: string
  6061. required:
  6062. - ordertime
  6063. type: object
  6064. info:
  6065. contact: {}
  6066. description: 新的查询服务,替代原通用查询服务。
  6067. license: {}
  6068. termsOfService: http://muchinfo.cn
  6069. title: MTP2.0 查询服务 API
  6070. version: "1.0"
  6071. paths:
  6072. /CPTrade/QueryCPTradeMyBidInfos:
  6073. get:
  6074. parameters:
  6075. - description: 资金账户
  6076. in: query
  6077. name: accountid
  6078. required: true
  6079. type: integer
  6080. - description: 预售市场ID
  6081. in: query
  6082. name: marketid
  6083. type: integer
  6084. - description: 预售商品ID
  6085. in: query
  6086. name: goodsid
  6087. type: integer
  6088. produces:
  6089. - application/json
  6090. responses:
  6091. "200":
  6092. description: OK
  6093. schema:
  6094. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  6095. "500":
  6096. description: Internal Server Error
  6097. schema:
  6098. $ref: '#/definitions/app.Response'
  6099. security:
  6100. - ApiKeyAuth: []
  6101. summary: 查询产能预售我的出价信息
  6102. tags:
  6103. - 产能预售
  6104. /CPTrade/QueryCPTradeOrderDetail:
  6105. get:
  6106. parameters:
  6107. - description: 预售商品ID
  6108. in: query
  6109. name: goodsid
  6110. type: integer
  6111. - description: 预售市场ID
  6112. in: query
  6113. name: marketid
  6114. type: integer
  6115. - description: 预售商品ID列表 - 格式:1,2,3
  6116. in: query
  6117. name: goodsids
  6118. type: string
  6119. produces:
  6120. - application/json
  6121. responses:
  6122. "200":
  6123. description: OK
  6124. schema:
  6125. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  6126. "500":
  6127. description: Internal Server Error
  6128. schema:
  6129. $ref: '#/definitions/app.Response'
  6130. security:
  6131. - ApiKeyAuth: []
  6132. summary: 查询产能预售委托单信息
  6133. tags:
  6134. - 产能预售
  6135. /CPTrade/QueryMyCPTradeGoods:
  6136. get:
  6137. parameters:
  6138. - description: 资金账户
  6139. in: query
  6140. name: accountid
  6141. required: true
  6142. type: integer
  6143. produces:
  6144. - application/json
  6145. responses:
  6146. "200":
  6147. description: OK
  6148. schema:
  6149. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  6150. "500":
  6151. description: Internal Server Error
  6152. schema:
  6153. $ref: '#/definitions/app.Response'
  6154. security:
  6155. - ApiKeyAuth: []
  6156. summary: 查询我的预售信息
  6157. tags:
  6158. - 产能预售
  6159. /CPTrade/QueryPositionCancel:
  6160. get:
  6161. parameters:
  6162. - description: 账户ID
  6163. in: query
  6164. name: userid
  6165. required: true
  6166. type: integer
  6167. - description: 注销ID
  6168. in: query
  6169. name: cancelid
  6170. type: integer
  6171. - description: 资金账户ID
  6172. in: query
  6173. name: accountid
  6174. type: integer
  6175. produces:
  6176. - application/json
  6177. responses:
  6178. "200":
  6179. description: OK
  6180. schema:
  6181. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  6182. "500":
  6183. description: Internal Server Error
  6184. schema:
  6185. $ref: '#/definitions/app.Response'
  6186. security:
  6187. - ApiKeyAuth: []
  6188. summary: 查询远期订单注销申请信息
  6189. tags:
  6190. - 产能预售
  6191. /CPTrade/QueryPreasleApply:
  6192. get:
  6193. parameters:
  6194. - description: 账户ID
  6195. in: query
  6196. name: userid
  6197. required: true
  6198. type: integer
  6199. - description: 申请ID
  6200. in: query
  6201. name: applyid
  6202. type: integer
  6203. - description: 资金账户ID
  6204. in: query
  6205. name: accountid
  6206. type: integer
  6207. produces:
  6208. - application/json
  6209. responses:
  6210. "200":
  6211. description: OK
  6212. schema:
  6213. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  6214. "500":
  6215. description: Internal Server Error
  6216. schema:
  6217. $ref: '#/definitions/app.Response'
  6218. security:
  6219. - ApiKeyAuth: []
  6220. summary: 查询产能预售申请信息
  6221. tags:
  6222. - 产能预售
  6223. /CPTrade/QueryPresaleGoodsEx:
  6224. get:
  6225. parameters:
  6226. - description: 预售商品ID
  6227. in: query
  6228. name: goodsid
  6229. type: integer
  6230. - description: 预售市场ID
  6231. in: query
  6232. name: marketid
  6233. type: integer
  6234. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  6235. in: query
  6236. name: presalemode
  6237. type: integer
  6238. - description: 预售商品ID列表 - 格式:1,2,3
  6239. in: query
  6240. name: goodsids
  6241. type: string
  6242. - description: 预售商品代码
  6243. in: query
  6244. name: goodscode
  6245. type: string
  6246. produces:
  6247. - application/json
  6248. responses:
  6249. "200":
  6250. description: OK
  6251. schema:
  6252. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  6253. "500":
  6254. description: Internal Server Error
  6255. schema:
  6256. $ref: '#/definitions/app.Response'
  6257. security:
  6258. - ApiKeyAuth: []
  6259. summary: 查询产能预售商品扩展信息
  6260. tags:
  6261. - 产能预售
  6262. /CPTrade/QueryUserGoodsData:
  6263. get:
  6264. parameters:
  6265. - description: 资金账户ID
  6266. in: query
  6267. name: accountid
  6268. required: true
  6269. type: integer
  6270. produces:
  6271. - application/json
  6272. responses:
  6273. "200":
  6274. description: OK
  6275. schema:
  6276. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  6277. "500":
  6278. description: Internal Server Error
  6279. schema:
  6280. $ref: '#/definitions/app.Response'
  6281. security:
  6282. - ApiKeyAuth: []
  6283. summary: 查询远期订单信息
  6284. tags:
  6285. - 产能预售
  6286. /Common/GetAllEnums:
  6287. get:
  6288. produces:
  6289. - application/json
  6290. responses:
  6291. "200":
  6292. description: OK
  6293. schema:
  6294. $ref: '#/definitions/models.Enumdicitem'
  6295. "500":
  6296. description: Internal Server Error
  6297. schema:
  6298. $ref: '#/definitions/app.Response'
  6299. summary: 获取所有枚举信息
  6300. tags:
  6301. - 通用服务
  6302. /Common/GetServerTime:
  6303. get:
  6304. produces:
  6305. - application/json
  6306. responses:
  6307. "200":
  6308. description: OK
  6309. schema:
  6310. $ref: '#/definitions/app.Response'
  6311. "500":
  6312. description: Internal Server Error
  6313. schema:
  6314. $ref: '#/definitions/app.Response'
  6315. summary: 获取服务器时间
  6316. tags:
  6317. - 通用服务
  6318. /Common/NoticeReaded:
  6319. post:
  6320. parameters:
  6321. - description: 登录账号
  6322. in: query
  6323. name: loginID
  6324. required: true
  6325. type: integer
  6326. - description: 通知公告ID
  6327. in: query
  6328. name: noticeID
  6329. required: true
  6330. type: integer
  6331. produces:
  6332. - application/json
  6333. responses:
  6334. "200":
  6335. description: OK
  6336. schema:
  6337. $ref: '#/definitions/app.Response'
  6338. "500":
  6339. description: Internal Server Error
  6340. schema:
  6341. $ref: '#/definitions/app.Response'
  6342. security:
  6343. - ApiKeyAuth: []
  6344. summary: 通知公告设置已读请求
  6345. tags:
  6346. - 通用服务
  6347. /Common/QueryImageConfigs:
  6348. get:
  6349. parameters:
  6350. - description: 类型 - 1:App首页轮播 2:我的
  6351. in: query
  6352. name: imageType
  6353. type: integer
  6354. produces:
  6355. - application/json
  6356. responses:
  6357. "200":
  6358. description: OK
  6359. schema:
  6360. $ref: '#/definitions/models.Szdz2imageconfig'
  6361. "500":
  6362. description: Internal Server Error
  6363. schema:
  6364. $ref: '#/definitions/app.Response'
  6365. summary: 查询轮播图配置信息
  6366. tags:
  6367. - 通用服务
  6368. /Common/QueryNotice:
  6369. get:
  6370. parameters:
  6371. - description: 页码
  6372. in: query
  6373. name: page
  6374. type: integer
  6375. - description: 每页条数
  6376. in: query
  6377. name: pagesize
  6378. type: integer
  6379. - description: 登录账号
  6380. in: query
  6381. name: loginID
  6382. required: true
  6383. type: integer
  6384. - description: 消息类型 - 1:公告通知 2:系统消息
  6385. in: query
  6386. name: msgType
  6387. type: integer
  6388. - description: 是否只获取未读信息
  6389. in: query
  6390. name: onlyUnRead
  6391. type: boolean
  6392. produces:
  6393. - application/json
  6394. responses:
  6395. "200":
  6396. description: OK
  6397. schema:
  6398. $ref: '#/definitions/common.QueryNoticeRsp'
  6399. "500":
  6400. description: Internal Server Error
  6401. schema:
  6402. $ref: '#/definitions/app.Response'
  6403. security:
  6404. - ApiKeyAuth: []
  6405. summary: 通知公告系统消息查询
  6406. tags:
  6407. - 通用服务
  6408. /Common/QueryProvincesAndCities:
  6409. get:
  6410. parameters:
  6411. - description: 省ID
  6412. in: query
  6413. name: provinceID
  6414. type: integer
  6415. produces:
  6416. - application/json
  6417. responses:
  6418. "200":
  6419. description: OK
  6420. schema:
  6421. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  6422. "500":
  6423. description: Internal Server Error
  6424. schema:
  6425. $ref: '#/definitions/app.Response'
  6426. summary: 查询省市信息(不包括区)
  6427. tags:
  6428. - 通用服务
  6429. /Common/QueryTableDefine:
  6430. get:
  6431. parameters:
  6432. - description: 表key
  6433. in: query
  6434. name: tableKey
  6435. type: string
  6436. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  6437. in: query
  6438. name: tableType
  6439. type: integer
  6440. produces:
  6441. - application/json
  6442. responses:
  6443. "200":
  6444. description: OK
  6445. schema:
  6446. $ref: '#/definitions/common.QueryTableDefineRsp'
  6447. "500":
  6448. description: Internal Server Error
  6449. schema:
  6450. $ref: '#/definitions/app.Response'
  6451. summary: 查询交易端列表头信息
  6452. tags:
  6453. - 通用服务
  6454. /Common/QueryTraderMenu:
  6455. get:
  6456. parameters:
  6457. - description: 登录账号
  6458. in: query
  6459. name: loginid
  6460. required: true
  6461. type: integer
  6462. produces:
  6463. - application/json
  6464. responses:
  6465. "200":
  6466. description: OK
  6467. schema:
  6468. $ref: '#/definitions/common.QueryTraderMenuRsp'
  6469. "500":
  6470. description: Internal Server Error
  6471. schema:
  6472. $ref: '#/definitions/app.Response'
  6473. summary: 查询交易端菜单
  6474. tags:
  6475. - 通用服务
  6476. /Delivery/QueryDeliveryRelation:
  6477. get:
  6478. parameters:
  6479. - description: 商品ID
  6480. in: query
  6481. name: goodsid
  6482. type: integer
  6483. - description: 品种ID
  6484. in: query
  6485. name: deliverygoodsid
  6486. type: integer
  6487. - description: 市场ID
  6488. in: query
  6489. name: marketid
  6490. type: integer
  6491. produces:
  6492. - application/json
  6493. responses:
  6494. "200":
  6495. description: OK
  6496. schema:
  6497. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  6498. "500":
  6499. description: Internal Server Error
  6500. schema:
  6501. $ref: '#/definitions/app.Response'
  6502. security:
  6503. - ApiKeyAuth: []
  6504. summary: 查询商品交割关系表
  6505. tags:
  6506. - 交割服务
  6507. /Ermcp/QueryBusinessDj:
  6508. get:
  6509. produces:
  6510. - application/json
  6511. responses:
  6512. "200":
  6513. description: OK
  6514. schema:
  6515. items:
  6516. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  6517. type: array
  6518. "500":
  6519. description: Internal Server Error
  6520. schema:
  6521. $ref: '#/definitions/app.Response'
  6522. security:
  6523. - ApiKeyAuth: []
  6524. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  6525. tags:
  6526. - 企业风险管理(app)
  6527. /Ermcp/QueryBusinessFp:
  6528. get:
  6529. produces:
  6530. - application/json
  6531. responses:
  6532. "200":
  6533. description: OK
  6534. schema:
  6535. items:
  6536. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  6537. type: array
  6538. "500":
  6539. description: Internal Server Error
  6540. schema:
  6541. $ref: '#/definitions/app.Response'
  6542. security:
  6543. - ApiKeyAuth: []
  6544. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  6545. tags:
  6546. - 企业风险管理(app)
  6547. /Ermcp/QueryBusinessJs:
  6548. get:
  6549. produces:
  6550. - application/json
  6551. responses:
  6552. "200":
  6553. description: OK
  6554. schema:
  6555. items:
  6556. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  6557. type: array
  6558. "500":
  6559. description: Internal Server Error
  6560. schema:
  6561. $ref: '#/definitions/app.Response'
  6562. security:
  6563. - ApiKeyAuth: []
  6564. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  6565. tags:
  6566. - 企业风险管理(app)
  6567. /Ermcp/QueryBusinessKx:
  6568. get:
  6569. produces:
  6570. - application/json
  6571. responses:
  6572. "200":
  6573. description: OK
  6574. schema:
  6575. items:
  6576. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  6577. type: array
  6578. "500":
  6579. description: Internal Server Error
  6580. schema:
  6581. $ref: '#/definitions/app.Response'
  6582. security:
  6583. - ApiKeyAuth: []
  6584. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  6585. tags:
  6586. - 企业风险管理(app)
  6587. /Ermcp/QueryContract:
  6588. get:
  6589. parameters:
  6590. - description: 合同类型 1-采购, -1-销售
  6591. in: query
  6592. name: contracttype
  6593. required: true
  6594. type: integer
  6595. - description: 查询类型 1-全部 2-待点价 3-履约结算
  6596. in: query
  6597. name: QueryType
  6598. required: true
  6599. type: integer
  6600. produces:
  6601. - application/json
  6602. responses:
  6603. "200":
  6604. description: OK
  6605. schema:
  6606. items:
  6607. $ref: '#/definitions/ermcp.QryErmcpRsp'
  6608. type: array
  6609. "500":
  6610. description: Internal Server Error
  6611. schema:
  6612. $ref: '#/definitions/app.Response'
  6613. security:
  6614. - ApiKeyAuth: []
  6615. summary: 查询合同(采购和销售)
  6616. tags:
  6617. - 企业风险管理(app)
  6618. /Ermcp/QueryHedgePlan:
  6619. get:
  6620. parameters:
  6621. - description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6622. in: query
  6623. name: HedgePlanStatus
  6624. required: true
  6625. type: integer
  6626. produces:
  6627. - application/json
  6628. responses:
  6629. "200":
  6630. description: OK
  6631. schema:
  6632. items:
  6633. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  6634. type: array
  6635. "500":
  6636. description: Internal Server Error
  6637. schema:
  6638. $ref: '#/definitions/app.Response'
  6639. security:
  6640. - ApiKeyAuth: []
  6641. summary: 查询套保计划
  6642. tags:
  6643. - 企业风险管理(app)
  6644. /Ermcp/QuerySpotContract:
  6645. get:
  6646. parameters:
  6647. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  6648. in: query
  6649. name: QueryType
  6650. required: true
  6651. type: integer
  6652. produces:
  6653. - application/json
  6654. responses:
  6655. "200":
  6656. description: OK
  6657. schema:
  6658. items:
  6659. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  6660. type: array
  6661. "500":
  6662. description: Internal Server Error
  6663. schema:
  6664. $ref: '#/definitions/app.Response'
  6665. security:
  6666. - ApiKeyAuth: []
  6667. summary: 查询现货合同(对应现货合同菜单)
  6668. tags:
  6669. - 企业风险管理(app)
  6670. /Ermcp/QueryUserInfo:
  6671. get:
  6672. parameters:
  6673. - description: 账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6674. in: query
  6675. name: AccountStatus
  6676. required: true
  6677. type: string
  6678. produces:
  6679. - application/json
  6680. responses:
  6681. "200":
  6682. description: OK
  6683. schema:
  6684. items:
  6685. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  6686. type: array
  6687. "500":
  6688. description: Internal Server Error
  6689. schema:
  6690. $ref: '#/definitions/app.Response'
  6691. security:
  6692. - ApiKeyAuth: []
  6693. summary: 查询客户资料
  6694. tags:
  6695. - 企业风险管理(app)
  6696. /Ermcp/QueryWrStandard:
  6697. get:
  6698. produces:
  6699. - application/json
  6700. responses:
  6701. "200":
  6702. description: OK
  6703. schema:
  6704. items:
  6705. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  6706. type: array
  6707. "500":
  6708. description: Internal Server Error
  6709. schema:
  6710. $ref: '#/definitions/app.Response'
  6711. security:
  6712. - ApiKeyAuth: []
  6713. summary: 查询现货商品
  6714. tags:
  6715. - 企业风险管理(app)
  6716. /Erms2/QueryArbitrageStrategy:
  6717. get:
  6718. parameters:
  6719. - description: 账户ID
  6720. in: query
  6721. name: userid
  6722. required: true
  6723. type: integer
  6724. - description: 商品组ID(品种ID)
  6725. in: query
  6726. name: goodsgroupid
  6727. type: string
  6728. produces:
  6729. - application/json
  6730. responses:
  6731. "200":
  6732. description: OK
  6733. schema:
  6734. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  6735. "500":
  6736. description: Internal Server Error
  6737. schema:
  6738. $ref: '#/definitions/app.Response'
  6739. security:
  6740. - ApiKeyAuth: []
  6741. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  6742. tags:
  6743. - 风险管理
  6744. /Erms2/QueryInnerTradeDetail:
  6745. get:
  6746. parameters:
  6747. - description: 资金账户
  6748. in: query
  6749. name: accountid
  6750. required: true
  6751. type: integer
  6752. produces:
  6753. - application/json
  6754. responses:
  6755. "200":
  6756. description: OK
  6757. schema:
  6758. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  6759. "500":
  6760. description: Internal Server Error
  6761. schema:
  6762. $ref: '#/definitions/app.Response'
  6763. security:
  6764. - ApiKeyAuth: []
  6765. summary: 查询内部成交单信息
  6766. tags:
  6767. - 风险管理
  6768. /Erms2/QuerySpotContract:
  6769. get:
  6770. parameters:
  6771. - description: 策略申请ID
  6772. in: query
  6773. name: asapplyid
  6774. required: true
  6775. type: integer
  6776. - description: 现货合同ID
  6777. in: query
  6778. name: spotcontractid
  6779. type: integer
  6780. produces:
  6781. - application/json
  6782. responses:
  6783. "200":
  6784. description: OK
  6785. schema:
  6786. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  6787. "500":
  6788. description: Internal Server Error
  6789. schema:
  6790. $ref: '#/definitions/app.Response'
  6791. security:
  6792. - ApiKeyAuth: []
  6793. summary: 查询现货合同表信息(指定策略ID、未结束的)
  6794. tags:
  6795. - 风险管理
  6796. /Erms3/AddErms2ASApply:
  6797. post:
  6798. parameters:
  6799. - description: 申请参数
  6800. in: body
  6801. name: jsonBody
  6802. required: true
  6803. schema:
  6804. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  6805. produces:
  6806. - application/json
  6807. responses:
  6808. "200":
  6809. description: OK
  6810. schema:
  6811. $ref: '#/definitions/app.Response'
  6812. "500":
  6813. description: Internal Server Error
  6814. schema:
  6815. $ref: '#/definitions/app.Response'
  6816. security:
  6817. - ApiKeyAuth: []
  6818. summary: 新增期现套利业务申请
  6819. tags:
  6820. - 风险管理v3
  6821. /Erms3/AddErms2SpotTradeApply:
  6822. post:
  6823. parameters:
  6824. - description: 申请参数
  6825. in: body
  6826. name: jsonBody
  6827. required: true
  6828. schema:
  6829. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  6830. produces:
  6831. - application/json
  6832. responses:
  6833. "200":
  6834. description: OK
  6835. schema:
  6836. $ref: '#/definitions/app.Response'
  6837. "500":
  6838. description: Internal Server Error
  6839. schema:
  6840. $ref: '#/definitions/app.Response'
  6841. security:
  6842. - ApiKeyAuth: []
  6843. summary: 新增现货贸易业务申请
  6844. tags:
  6845. - 风险管理v3
  6846. /Erms3/AddSpotContractApply:
  6847. post:
  6848. parameters:
  6849. - description: 申请参数
  6850. in: body
  6851. name: jsonBody
  6852. required: true
  6853. schema:
  6854. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  6855. produces:
  6856. - application/json
  6857. responses:
  6858. "200":
  6859. description: OK
  6860. schema:
  6861. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  6862. "500":
  6863. description: Internal Server Error
  6864. schema:
  6865. $ref: '#/definitions/app.Response'
  6866. security:
  6867. - ApiKeyAuth: []
  6868. summary: 新增现货合同申请
  6869. tags:
  6870. - 风险管理v3
  6871. /Erms3/AddUserInfoApply:
  6872. post:
  6873. parameters:
  6874. - description: 申请参数
  6875. in: body
  6876. name: jsonBody
  6877. required: true
  6878. schema:
  6879. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  6880. produces:
  6881. - application/json
  6882. responses:
  6883. "200":
  6884. description: OK
  6885. schema:
  6886. $ref: '#/definitions/app.Response'
  6887. "500":
  6888. description: Internal Server Error
  6889. schema:
  6890. $ref: '#/definitions/app.Response'
  6891. security:
  6892. - ApiKeyAuth: []
  6893. summary: 新增客户申请
  6894. tags:
  6895. - 风险管理v3
  6896. /Erms3/QueryBusinessInfo:
  6897. get:
  6898. parameters:
  6899. - description: 资金账号ID列表,用逗号分隔
  6900. in: query
  6901. name: accountids
  6902. required: true
  6903. type: string
  6904. - description: 状态,0为未结束 1为已结束
  6905. in: query
  6906. name: status
  6907. required: true
  6908. type: integer
  6909. produces:
  6910. - application/json
  6911. responses:
  6912. "200":
  6913. description: OK
  6914. schema:
  6915. items:
  6916. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  6917. type: array
  6918. "500":
  6919. description: Internal Server Error
  6920. schema:
  6921. $ref: '#/definitions/app.Response'
  6922. security:
  6923. - ApiKeyAuth: []
  6924. summary: 查询业务表单数据
  6925. tags:
  6926. - 风险管理v3
  6927. /Erms3/QueryPendingAuditContract:
  6928. get:
  6929. parameters:
  6930. - description: 资金账号ID列表,逗号隔开
  6931. in: query
  6932. name: accountids
  6933. required: true
  6934. type: string
  6935. - description: 合同类型 1-采购 -1-销售
  6936. in: query
  6937. name: contracttype
  6938. required: true
  6939. type: integer
  6940. - description: 合同模式 1-普通 2-回购
  6941. in: query
  6942. name: contractmode
  6943. required: true
  6944. type: integer
  6945. produces:
  6946. - application/json
  6947. responses:
  6948. "200":
  6949. description: OK
  6950. schema:
  6951. items:
  6952. $ref: '#/definitions/erms3.QryAuditContractRsp'
  6953. type: array
  6954. "500":
  6955. description: Internal Server Error
  6956. schema:
  6957. $ref: '#/definitions/app.Response'
  6958. security:
  6959. - ApiKeyAuth: []
  6960. summary: 查询待审核合同
  6961. tags:
  6962. - 风险管理v3
  6963. /Erms3/QueryPendingBusiness:
  6964. get:
  6965. parameters:
  6966. - description: 资金账号ID列表,逗号隔开
  6967. in: query
  6968. name: accountids
  6969. required: true
  6970. type: string
  6971. produces:
  6972. - application/json
  6973. responses:
  6974. "200":
  6975. description: OK
  6976. schema:
  6977. items:
  6978. $ref: '#/definitions/erms3.QryPendingBizRsp'
  6979. type: array
  6980. "500":
  6981. description: Internal Server Error
  6982. schema:
  6983. $ref: '#/definitions/app.Response'
  6984. security:
  6985. - ApiKeyAuth: []
  6986. summary: 查询待审核基差贸易业务
  6987. tags:
  6988. - 风险管理v3
  6989. /Erms3/QuerySpotContractAppleForm:
  6990. get:
  6991. parameters:
  6992. - description: 登录账号
  6993. in: query
  6994. name: loginID
  6995. required: true
  6996. type: integer
  6997. produces:
  6998. - application/json
  6999. responses:
  7000. "200":
  7001. description: OK
  7002. schema:
  7003. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  7004. "500":
  7005. description: Internal Server Error
  7006. schema:
  7007. $ref: '#/definitions/app.Response'
  7008. security:
  7009. - ApiKeyAuth: []
  7010. summary: 查询合同申请表单数据
  7011. tags:
  7012. - 风险管理v3
  7013. /Erms3/QuerySpotContractDetail:
  7014. get:
  7015. parameters:
  7016. - description: 资金账号ID列表,用逗号分隔
  7017. in: query
  7018. name: accountids
  7019. required: true
  7020. type: string
  7021. - description: 合同类型,1为采购合同 -1为销售合同
  7022. in: query
  7023. name: contracttype
  7024. required: true
  7025. type: integer
  7026. - description: 合同模式,1为普通合同 2为回购销售合同
  7027. in: query
  7028. name: contractmode
  7029. required: true
  7030. type: integer
  7031. - description: 状态,0为履约中 1为已完成
  7032. in: query
  7033. name: status
  7034. required: true
  7035. type: integer
  7036. produces:
  7037. - application/json
  7038. responses:
  7039. "200":
  7040. description: OK
  7041. schema:
  7042. items:
  7043. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  7044. type: array
  7045. "500":
  7046. description: Internal Server Error
  7047. schema:
  7048. $ref: '#/definitions/app.Response'
  7049. security:
  7050. - ApiKeyAuth: []
  7051. summary: 查询合同详细信息
  7052. tags:
  7053. - 风险管理v3
  7054. /Erms3/QueryUserInfoApplies:
  7055. get:
  7056. parameters:
  7057. - description: 页码
  7058. in: query
  7059. name: page
  7060. type: integer
  7061. - description: 每页条数
  7062. in: query
  7063. name: pagesize
  7064. type: integer
  7065. - description: 客户名称,支持模糊查询
  7066. in: query
  7067. name: userName
  7068. type: string
  7069. produces:
  7070. - application/json
  7071. responses:
  7072. "200":
  7073. description: OK
  7074. schema:
  7075. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  7076. "500":
  7077. description: Internal Server Error
  7078. schema:
  7079. $ref: '#/definitions/app.Response'
  7080. security:
  7081. - ApiKeyAuth: []
  7082. summary: 客户申请信息查询
  7083. tags:
  7084. - 风险管理v3
  7085. /Erms3/QueryUserInfos:
  7086. get:
  7087. parameters:
  7088. - description: 页码
  7089. in: query
  7090. name: page
  7091. type: integer
  7092. - description: 每页条数
  7093. in: query
  7094. name: pagesize
  7095. type: integer
  7096. - description: 客户名称,支持模糊查询
  7097. in: query
  7098. name: userName
  7099. type: string
  7100. produces:
  7101. - application/json
  7102. responses:
  7103. "200":
  7104. description: OK
  7105. schema:
  7106. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  7107. "500":
  7108. description: Internal Server Error
  7109. schema:
  7110. $ref: '#/definitions/app.Response'
  7111. security:
  7112. - ApiKeyAuth: []
  7113. summary: 客户信息查询
  7114. tags:
  7115. - 风险管理v3
  7116. /HSBY/GetHsbyMyCount:
  7117. get:
  7118. description: 说明: 不包括已完成的数量。
  7119. parameters:
  7120. - description: 资金账户列表,格式:1,2,3
  7121. in: query
  7122. name: accountIDs
  7123. required: true
  7124. type: string
  7125. produces:
  7126. - application/json
  7127. responses:
  7128. "200":
  7129. description: OK
  7130. schema:
  7131. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  7132. "500":
  7133. description: Internal Server Error
  7134. schema:
  7135. $ref: '#/definitions/app.Response'
  7136. security:
  7137. - ApiKeyAuth: []
  7138. summary: 获取我的订单与包裹数量
  7139. tags:
  7140. - 定制【海商报业】
  7141. /HSBY/QueryHsbyBuyMyTradeDetail:
  7142. get:
  7143. parameters:
  7144. - description: 页码
  7145. in: query
  7146. name: page
  7147. type: integer
  7148. - description: 每页条数
  7149. in: query
  7150. name: pagesize
  7151. type: integer
  7152. - description: 资金账户列表,格式:1,2,3
  7153. in: query
  7154. name: accountIDs
  7155. required: true
  7156. type: string
  7157. produces:
  7158. - application/json
  7159. responses:
  7160. "200":
  7161. description: OK
  7162. schema:
  7163. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  7164. "500":
  7165. description: Internal Server Error
  7166. schema:
  7167. $ref: '#/definitions/app.Response'
  7168. security:
  7169. - ApiKeyAuth: []
  7170. summary: 查询"我的订单 - 已完成"单据信息
  7171. tags:
  7172. - 定制【海商报业】
  7173. /HSBY/QueryHsbyGoodsOrderDetails:
  7174. get:
  7175. description: 说明:查询结果已按委托价格和委托时间排序
  7176. parameters:
  7177. - description: 商品ID
  7178. in: query
  7179. name: goodsID
  7180. required: true
  7181. type: integer
  7182. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  7183. in: query
  7184. name: accountIDs
  7185. type: string
  7186. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  7187. in: query
  7188. name: buyOrSell
  7189. type: integer
  7190. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  7191. in: query
  7192. name: price
  7193. type: number
  7194. - description: 档位,不传则默认为3档
  7195. in: query
  7196. name: speed
  7197. type: integer
  7198. produces:
  7199. - application/json
  7200. responses:
  7201. "200":
  7202. description: OK
  7203. schema:
  7204. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  7205. "500":
  7206. description: Internal Server Error
  7207. schema:
  7208. $ref: '#/definitions/app.Response'
  7209. security:
  7210. - ApiKeyAuth: []
  7211. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  7212. tags:
  7213. - 定制【海商报业】
  7214. /HSBY/QueryHsbyListingGoodsDetail:
  7215. get:
  7216. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  7217. parameters:
  7218. - description: 商品ID
  7219. in: query
  7220. name: goodsID
  7221. required: true
  7222. type: integer
  7223. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  7224. in: query
  7225. name: accountID
  7226. type: integer
  7227. produces:
  7228. - application/json
  7229. responses:
  7230. "200":
  7231. description: OK
  7232. schema:
  7233. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  7234. "500":
  7235. description: Internal Server Error
  7236. schema:
  7237. $ref: '#/definitions/app.Response'
  7238. security:
  7239. - ApiKeyAuth: []
  7240. summary: 查询二级市场(挂牌点选)商品信息详情
  7241. tags:
  7242. - 定制【海商报业】
  7243. /HSBY/QueryHsbyMarketGoodsDetail:
  7244. get:
  7245. parameters:
  7246. - description: 委托单号
  7247. in: query
  7248. name: orderID
  7249. required: true
  7250. type: integer
  7251. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  7252. in: query
  7253. name: accountID
  7254. type: integer
  7255. produces:
  7256. - application/json
  7257. responses:
  7258. "200":
  7259. description: OK
  7260. schema:
  7261. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  7262. "500":
  7263. description: Internal Server Error
  7264. schema:
  7265. $ref: '#/definitions/app.Response'
  7266. security:
  7267. - ApiKeyAuth: []
  7268. summary: 查询三级市场(商城)商品信息详情
  7269. tags:
  7270. - 定制【海商报业】
  7271. /HSBY/QueryHsbyMarketGoodses:
  7272. get:
  7273. parameters:
  7274. - description: 页码
  7275. in: query
  7276. name: page
  7277. type: integer
  7278. - description: 每页条数
  7279. in: query
  7280. name: pagesize
  7281. type: integer
  7282. - description: 市场ID列表,格式:1,2,3
  7283. in: query
  7284. name: marketIDs
  7285. required: true
  7286. type: string
  7287. - description: 资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。
  7288. in: query
  7289. name: accountID
  7290. type: integer
  7291. - description: 类别ID
  7292. in: query
  7293. name: categoryID
  7294. type: integer
  7295. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  7296. in: query
  7297. name: goodsIDs
  7298. type: string
  7299. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  7300. in: query
  7301. name: couponTypeID
  7302. type: integer
  7303. produces:
  7304. - application/json
  7305. responses:
  7306. "200":
  7307. description: OK
  7308. schema:
  7309. $ref: '#/definitions/models.HsbyMarketGoods'
  7310. "500":
  7311. description: Internal Server Error
  7312. schema:
  7313. $ref: '#/definitions/app.Response'
  7314. security:
  7315. - ApiKeyAuth: []
  7316. summary: 查询特卖商品列表(三级商城)
  7317. tags:
  7318. - 定制【海商报业】
  7319. /HSBY/QueryHsbyMarkets:
  7320. get:
  7321. produces:
  7322. - application/json
  7323. responses:
  7324. "200":
  7325. description: OK
  7326. schema:
  7327. $ref: '#/definitions/models.HsbyMarketInfo'
  7328. "500":
  7329. description: Internal Server Error
  7330. schema:
  7331. $ref: '#/definitions/app.Response'
  7332. security:
  7333. - ApiKeyAuth: []
  7334. summary: 查询海商报业相关市场信息
  7335. tags:
  7336. - 定制【海商报业】
  7337. /HSBY/QueryHsbyMyBuyOrderDetails:
  7338. get:
  7339. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  7340. parameters:
  7341. - description: 资金账户列表,格式:1,2,3
  7342. in: query
  7343. name: accountIDs
  7344. required: true
  7345. type: string
  7346. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  7347. in: query
  7348. name: myBuyStatus
  7349. type: integer
  7350. produces:
  7351. - application/json
  7352. responses:
  7353. "200":
  7354. description: OK
  7355. schema:
  7356. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  7357. "500":
  7358. description: Internal Server Error
  7359. schema:
  7360. $ref: '#/definitions/app.Response'
  7361. security:
  7362. - ApiKeyAuth: []
  7363. summary: 查询“我的订单”信息
  7364. tags:
  7365. - 定制【海商报业】
  7366. /HSBY/QueryHsbyMyGoods:
  7367. get:
  7368. parameters:
  7369. - description: 资金账户列表,格式:1,2,3
  7370. in: query
  7371. name: accountIDs
  7372. required: true
  7373. type: string
  7374. produces:
  7375. - application/json
  7376. responses:
  7377. "200":
  7378. description: OK
  7379. schema:
  7380. $ref: '#/definitions/models.HsbyMyGoods'
  7381. "500":
  7382. description: Internal Server Error
  7383. schema:
  7384. $ref: '#/definitions/app.Response'
  7385. security:
  7386. - ApiKeyAuth: []
  7387. summary: 查询“我的商品”信息
  7388. tags:
  7389. - 定制【海商报业】
  7390. /HSBY/QueryHsbyMyPackages:
  7391. get:
  7392. parameters:
  7393. - description: 资金账户列表,格式:1,2,3
  7394. in: query
  7395. name: accountIDs
  7396. required: true
  7397. type: string
  7398. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7399. in: query
  7400. name: takeOrderStatus
  7401. type: integer
  7402. produces:
  7403. - application/json
  7404. responses:
  7405. "200":
  7406. description: OK
  7407. schema:
  7408. $ref: '#/definitions/models.HsbyMyPackage'
  7409. "500":
  7410. description: Internal Server Error
  7411. schema:
  7412. $ref: '#/definitions/app.Response'
  7413. security:
  7414. - ApiKeyAuth: []
  7415. summary: 查询我的包裹信息
  7416. tags:
  7417. - 定制【海商报业】
  7418. /HSBY/QueryHsbyPreGoodsDetail:
  7419. get:
  7420. parameters:
  7421. - description: 商品ID
  7422. in: query
  7423. name: goodsID
  7424. required: true
  7425. type: integer
  7426. - description: 资金账户,主要用于获取预售商品购买上限
  7427. in: query
  7428. name: accountID
  7429. type: integer
  7430. produces:
  7431. - application/json
  7432. responses:
  7433. "200":
  7434. description: OK
  7435. schema:
  7436. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  7437. "500":
  7438. description: Internal Server Error
  7439. schema:
  7440. $ref: '#/definitions/app.Response'
  7441. security:
  7442. - ApiKeyAuth: []
  7443. summary: 查询一级市场(预售)商品信息详情
  7444. tags:
  7445. - 定制【海商报业】
  7446. /HSBY/QueryHsbyPreGoodses:
  7447. get:
  7448. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  7449. parameters:
  7450. - description: 页码
  7451. in: query
  7452. name: page
  7453. type: integer
  7454. - description: 每页条数
  7455. in: query
  7456. name: pagesize
  7457. type: integer
  7458. - description: 市场ID列表,格式:1,2,3
  7459. in: query
  7460. name: marketIDs
  7461. required: true
  7462. type: string
  7463. - description: 目的地(省)ID
  7464. in: query
  7465. name: descProvinceID
  7466. type: integer
  7467. - description: 目的地(市)ID
  7468. in: query
  7469. name: descCityID
  7470. type: integer
  7471. produces:
  7472. - application/json
  7473. responses:
  7474. "200":
  7475. description: OK
  7476. schema:
  7477. $ref: '#/definitions/models.HsbyPreGoods'
  7478. "500":
  7479. description: Internal Server Error
  7480. schema:
  7481. $ref: '#/definitions/app.Response'
  7482. security:
  7483. - ApiKeyAuth: []
  7484. summary: 查询新品上市商品列表(一级市场预售)
  7485. tags:
  7486. - 定制【海商报业】
  7487. /HSBY/QueryHsbySellMyDetails:
  7488. get:
  7489. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  7490. parameters:
  7491. - description: 页码
  7492. in: query
  7493. name: page
  7494. type: integer
  7495. - description: 每页条数
  7496. in: query
  7497. name: pagesize
  7498. type: integer
  7499. - description: 资金账户列表,格式:1,2,3
  7500. in: query
  7501. name: accountIDs
  7502. required: true
  7503. type: string
  7504. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  7505. in: query
  7506. name: orderType
  7507. type: integer
  7508. produces:
  7509. - application/json
  7510. responses:
  7511. "200":
  7512. description: OK
  7513. schema:
  7514. $ref: '#/definitions/models.HsbySellMyDetail'
  7515. "500":
  7516. description: Internal Server Error
  7517. schema:
  7518. $ref: '#/definitions/app.Response'
  7519. security:
  7520. - ApiKeyAuth: []
  7521. summary: 查询"我的闲置"单据信息
  7522. tags:
  7523. - 定制【海商报业】
  7524. /HSBY/QueryHsbyTopGoodses:
  7525. get:
  7526. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  7527. parameters:
  7528. - description: 页码
  7529. in: query
  7530. name: page
  7531. type: integer
  7532. - description: 每页条数
  7533. in: query
  7534. name: pagesize
  7535. type: integer
  7536. - description: 市场ID列表,格式:1,2,3
  7537. in: query
  7538. name: marketIDs
  7539. required: true
  7540. type: string
  7541. - description: 目的地(省)ID
  7542. in: query
  7543. name: descProvinceID
  7544. type: integer
  7545. - description: 目的地(市)ID
  7546. in: query
  7547. name: descCityID
  7548. type: integer
  7549. produces:
  7550. - application/json
  7551. responses:
  7552. "200":
  7553. description: OK
  7554. schema:
  7555. $ref: '#/definitions/models.HsbyTopGoods'
  7556. "500":
  7557. description: Internal Server Error
  7558. schema:
  7559. $ref: '#/definitions/app.Response'
  7560. security:
  7561. - ApiKeyAuth: []
  7562. summary: 查询热卖商品列表(二级市场挂牌点选)
  7563. tags:
  7564. - 定制【海商报业】
  7565. /HSBY/QueryMyCollectionOrders:
  7566. get:
  7567. parameters:
  7568. - description: 页码
  7569. in: query
  7570. name: page
  7571. type: integer
  7572. - description: 每页条数
  7573. in: query
  7574. name: pagesize
  7575. type: integer
  7576. - description: 资金账户,格式:1,2,3
  7577. in: query
  7578. name: accountIDs
  7579. required: true
  7580. type: string
  7581. produces:
  7582. - application/json
  7583. responses:
  7584. "200":
  7585. description: OK
  7586. schema:
  7587. $ref: '#/definitions/models.HsbySellCollectionOrder'
  7588. "500":
  7589. description: Internal Server Error
  7590. schema:
  7591. $ref: '#/definitions/app.Response'
  7592. security:
  7593. - ApiKeyAuth: []
  7594. summary: 我的闲置中收款信息查询
  7595. tags:
  7596. - 定制【海商报业】
  7597. /HSBY/QueryMyCouponHolds:
  7598. get:
  7599. parameters:
  7600. - description: 资金账户列表,格式:1,2,3
  7601. in: query
  7602. name: accountIDs
  7603. required: true
  7604. type: string
  7605. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  7606. in: query
  7607. name: holdStatus
  7608. type: string
  7609. produces:
  7610. - application/json
  7611. responses:
  7612. "200":
  7613. description: OK
  7614. schema:
  7615. $ref: '#/definitions/models.MyCouponHold'
  7616. "500":
  7617. description: Internal Server Error
  7618. schema:
  7619. $ref: '#/definitions/app.Response'
  7620. security:
  7621. - ApiKeyAuth: []
  7622. summary: 我的优惠卷持仓查询
  7623. tags:
  7624. - 定制【海商报业】
  7625. /HSBY/QueryMyCoupons:
  7626. get:
  7627. parameters:
  7628. - description: 资金账户列表,格式:1,2,3
  7629. in: query
  7630. name: accountIDs
  7631. required: true
  7632. type: string
  7633. - description: 商品ID, 一般与sellUserID配套传入
  7634. in: query
  7635. name: goodsID
  7636. type: integer
  7637. - description: 卖方UserID
  7638. in: query
  7639. name: sellUserID
  7640. type: integer
  7641. produces:
  7642. - application/json
  7643. responses:
  7644. "200":
  7645. description: OK
  7646. schema:
  7647. $ref: '#/definitions/models.MyCoupon'
  7648. "500":
  7649. description: Internal Server Error
  7650. schema:
  7651. $ref: '#/definitions/app.Response'
  7652. security:
  7653. - ApiKeyAuth: []
  7654. summary: 我的优惠卷查询
  7655. tags:
  7656. - 定制【海商报业】
  7657. /HSBY/QueryMyPayOrders:
  7658. get:
  7659. parameters:
  7660. - description: 页码
  7661. in: query
  7662. name: page
  7663. type: integer
  7664. - description: 每页条数
  7665. in: query
  7666. name: pagesize
  7667. type: integer
  7668. - description: 资金账户列表,格式:1,2,3
  7669. in: query
  7670. name: accountIDs
  7671. required: true
  7672. type: string
  7673. - description: 买方委托单号
  7674. in: query
  7675. name: buyOrderID
  7676. type: integer
  7677. - description: 卖方委托单号
  7678. in: query
  7679. name: sellOrderID
  7680. type: integer
  7681. produces:
  7682. - application/json
  7683. responses:
  7684. "200":
  7685. description: OK
  7686. schema:
  7687. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  7688. "500":
  7689. description: Internal Server Error
  7690. schema:
  7691. $ref: '#/definitions/app.Response'
  7692. security:
  7693. - ApiKeyAuth: []
  7694. summary: 获取我的订单中待付款信息
  7695. tags:
  7696. - 定制【海商报业】
  7697. /HSBY/QueryMyUsedCoupon:
  7698. get:
  7699. parameters:
  7700. - description: 资金账户列表,格式:1,2,3
  7701. in: query
  7702. name: accountIDs
  7703. required: true
  7704. type: string
  7705. produces:
  7706. - application/json
  7707. responses:
  7708. "200":
  7709. description: OK
  7710. schema:
  7711. $ref: '#/definitions/models.MyUsedCoupon'
  7712. "500":
  7713. description: Internal Server Error
  7714. schema:
  7715. $ref: '#/definitions/app.Response'
  7716. security:
  7717. - ApiKeyAuth: []
  7718. summary: 已使用优惠卷查询
  7719. tags:
  7720. - 定制【海商报业】
  7721. /HSBY/QueryProvincesAndCities:
  7722. get:
  7723. description: 查询结果只包括二级市场商品已关连的省市信息。
  7724. parameters:
  7725. - description: 省ID
  7726. in: query
  7727. name: provinceID
  7728. type: integer
  7729. produces:
  7730. - application/json
  7731. responses:
  7732. "200":
  7733. description: OK
  7734. schema:
  7735. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  7736. "500":
  7737. description: Internal Server Error
  7738. schema:
  7739. $ref: '#/definitions/app.Response'
  7740. security:
  7741. - ApiKeyAuth: []
  7742. summary: 查询省市信息(不包括区)
  7743. tags:
  7744. - 定制【海商报业】
  7745. /HSBY/SetHsbyMyPackagesStatus:
  7746. post:
  7747. parameters:
  7748. - description: 提货单号
  7749. in: query
  7750. name: takeOrderID
  7751. required: true
  7752. type: string
  7753. - description: 资金账号
  7754. in: query
  7755. name: accountID
  7756. required: true
  7757. type: integer
  7758. produces:
  7759. - application/json
  7760. responses:
  7761. "200":
  7762. description: OK
  7763. schema:
  7764. $ref: '#/definitions/app.Response'
  7765. "500":
  7766. description: Internal Server Error
  7767. schema:
  7768. $ref: '#/definitions/app.Response'
  7769. security:
  7770. - ApiKeyAuth: []
  7771. summary: 设置我的包裹已收货状态
  7772. tags:
  7773. - 定制【海商报业】
  7774. /Market/QueryMarketRun:
  7775. get:
  7776. parameters:
  7777. - description: 市场ID,不传返回所有
  7778. in: query
  7779. name: marketID
  7780. type: integer
  7781. produces:
  7782. - application/json
  7783. responses:
  7784. "200":
  7785. description: OK
  7786. schema:
  7787. $ref: '#/definitions/models.Marketrun'
  7788. "500":
  7789. description: Internal Server Error
  7790. schema:
  7791. $ref: '#/definitions/app.Response'
  7792. security:
  7793. - ApiKeyAuth: []
  7794. summary: 查询市场运行信息
  7795. tags:
  7796. - 通用市场
  7797. /Order/QueryHisTradeDetail:
  7798. get:
  7799. parameters:
  7800. - description: 资金账户 - 格式:1,2,3
  7801. in: query
  7802. name: accountID
  7803. required: true
  7804. type: string
  7805. - description: 成交单号
  7806. in: query
  7807. name: tradeID
  7808. type: integer
  7809. - description: 委托单号
  7810. in: query
  7811. name: orderID
  7812. type: integer
  7813. - description: 交易模式 - 格式:1,2,3
  7814. in: query
  7815. name: tradeMode
  7816. type: string
  7817. - description: 委托单据类型
  7818. in: query
  7819. name: buildType
  7820. type: integer
  7821. - description: 成交类别 - 格式:1,2,3
  7822. in: query
  7823. name: tradeType
  7824. type: string
  7825. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7826. in: query
  7827. name: startDate
  7828. type: string
  7829. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7830. in: query
  7831. name: endDate
  7832. type: string
  7833. produces:
  7834. - application/json
  7835. responses:
  7836. "200":
  7837. description: OK
  7838. schema:
  7839. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  7840. "500":
  7841. description: Internal Server Error
  7842. schema:
  7843. $ref: '#/definitions/app.Response'
  7844. security:
  7845. - ApiKeyAuth: []
  7846. summary: 历史成交单查询(合约市场)
  7847. tags:
  7848. - 通用单据
  7849. /Order/QueryHisTradeOrderDetail:
  7850. get:
  7851. parameters:
  7852. - description: 资金账户 - 格式:1,2,3
  7853. in: query
  7854. name: accountID
  7855. required: true
  7856. type: string
  7857. - description: 交易模式 - 格式:1,2,3
  7858. in: query
  7859. name: tradeMode
  7860. type: string
  7861. - description: 委托状态 - 格式:1,2,3
  7862. in: query
  7863. name: orderStatus
  7864. type: string
  7865. - description: 委托单号
  7866. in: query
  7867. name: orderID
  7868. type: integer
  7869. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7870. in: query
  7871. name: startDate
  7872. type: string
  7873. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7874. in: query
  7875. name: endDate
  7876. type: string
  7877. produces:
  7878. - application/json
  7879. responses:
  7880. "200":
  7881. description: OK
  7882. schema:
  7883. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  7884. "500":
  7885. description: Internal Server Error
  7886. schema:
  7887. $ref: '#/definitions/app.Response'
  7888. security:
  7889. - ApiKeyAuth: []
  7890. summary: 历史委托单查询请求(合约市场)
  7891. tags:
  7892. - 通用单据
  7893. /Order/QueryTradeDetail:
  7894. get:
  7895. parameters:
  7896. - description: 资金账户 - 格式:1,2,3
  7897. in: query
  7898. name: accountID
  7899. required: true
  7900. type: string
  7901. - description: 成交单号
  7902. in: query
  7903. name: tradeID
  7904. type: integer
  7905. - description: 委托单号
  7906. in: query
  7907. name: orderID
  7908. type: integer
  7909. - description: 交易模式 - 格式:1,2,3
  7910. in: query
  7911. name: tradeMode
  7912. type: string
  7913. - description: 委托单据类型
  7914. in: query
  7915. name: buildType
  7916. type: integer
  7917. - description: 成交类别 - 格式:1,2,3
  7918. in: query
  7919. name: tradeType
  7920. type: string
  7921. produces:
  7922. - application/json
  7923. responses:
  7924. "200":
  7925. description: OK
  7926. schema:
  7927. $ref: '#/definitions/order.QueryTradeDetailRsp'
  7928. "500":
  7929. description: Internal Server Error
  7930. schema:
  7931. $ref: '#/definitions/app.Response'
  7932. security:
  7933. - ApiKeyAuth: []
  7934. summary: 成交单查询(合约市场)
  7935. tags:
  7936. - 通用单据
  7937. /Order/QueryTradeOrderDetail:
  7938. get:
  7939. parameters:
  7940. - description: 资金账户 - 格式:1,2,3
  7941. in: query
  7942. name: accountID
  7943. required: true
  7944. type: string
  7945. - description: 交易模式 - 格式:1,2,3
  7946. in: query
  7947. name: tradeMode
  7948. type: string
  7949. - description: 委托状态 - 格式:1,2,3
  7950. in: query
  7951. name: orderStatus
  7952. type: string
  7953. - description: 委托单号
  7954. in: query
  7955. name: orderID
  7956. type: integer
  7957. produces:
  7958. - application/json
  7959. responses:
  7960. "200":
  7961. description: OK
  7962. schema:
  7963. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  7964. "500":
  7965. description: Internal Server Error
  7966. schema:
  7967. $ref: '#/definitions/app.Response'
  7968. security:
  7969. - ApiKeyAuth: []
  7970. summary: 委托单查询请求(合约市场)
  7971. tags:
  7972. - 通用单据
  7973. /Order/QueryTradePosition:
  7974. get:
  7975. parameters:
  7976. - description: 资金账户 - 格式:1,2,3
  7977. in: query
  7978. name: accountID
  7979. required: true
  7980. type: string
  7981. - description: 交易模式 - 格式:1,2,3
  7982. in: query
  7983. name: tradeMode
  7984. type: string
  7985. produces:
  7986. - application/json
  7987. responses:
  7988. "200":
  7989. description: OK
  7990. schema:
  7991. $ref: '#/definitions/order.QueryTradePositionRsp'
  7992. "500":
  7993. description: Internal Server Error
  7994. schema:
  7995. $ref: '#/definitions/app.Response'
  7996. security:
  7997. - ApiKeyAuth: []
  7998. summary: 持仓汇总查询(合约市场)
  7999. tags:
  8000. - 通用单据
  8001. /Quote/QueryHistoryDatas:
  8002. get:
  8003. parameters:
  8004. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  8005. 日线 10: Tik'
  8006. in: query
  8007. name: cycleType
  8008. required: true
  8009. type: integer
  8010. - description: 商品代码
  8011. in: query
  8012. name: goodsCode
  8013. required: true
  8014. type: string
  8015. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  8016. in: query
  8017. name: startTime
  8018. type: string
  8019. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  8020. in: query
  8021. name: endTime
  8022. type: string
  8023. - description: 条数
  8024. in: query
  8025. name: count
  8026. type: integer
  8027. - description: 是否按时间顺序排序(默认为时间倒序排序)
  8028. in: query
  8029. name: isAsc
  8030. type: boolean
  8031. produces:
  8032. - application/json
  8033. responses:
  8034. "200":
  8035. description: OK
  8036. schema:
  8037. $ref: '#/definitions/quote.HistoryData'
  8038. "500":
  8039. description: Internal Server Error
  8040. schema:
  8041. $ref: '#/definitions/app.Response'
  8042. security:
  8043. - ApiKeyAuth: []
  8044. summary: 查询行情历史数据
  8045. tags:
  8046. - 行情服务
  8047. /Quote/QueryTSData:
  8048. get:
  8049. parameters:
  8050. - description: 商品代码
  8051. in: query
  8052. name: GoodsCode
  8053. required: true
  8054. type: string
  8055. produces:
  8056. - application/json
  8057. responses:
  8058. "200":
  8059. description: OK
  8060. schema:
  8061. $ref: '#/definitions/quote.QueryTSDataRsp'
  8062. "500":
  8063. description: Internal Server Error
  8064. schema:
  8065. $ref: '#/definitions/app.Response'
  8066. summary: 分时图数据查询
  8067. tags:
  8068. - 行情服务
  8069. /SZDZ/QueryConvertConfig:
  8070. get:
  8071. parameters:
  8072. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8073. 6:交易转花生米(不设置)
  8074. in: query
  8075. name: convertType
  8076. type: integer
  8077. - description: 外部商品代码[JD\PD]
  8078. in: query
  8079. name: outerGoodsCode
  8080. type: string
  8081. - description: 内部商品ID列表[交易],格式:1,2,3
  8082. in: query
  8083. name: innerGoodsIDs
  8084. type: string
  8085. produces:
  8086. - application/json
  8087. responses:
  8088. "200":
  8089. description: OK
  8090. schema:
  8091. $ref: '#/definitions/models.Szdz3convertconfig'
  8092. "500":
  8093. description: Internal Server Error
  8094. schema:
  8095. $ref: '#/definitions/app.Response'
  8096. security:
  8097. - ApiKeyAuth: []
  8098. summary: 查询交易系统转换设置
  8099. tags:
  8100. - 定制【尚志大宗】
  8101. /SZDZ/QueryConvertLog:
  8102. get:
  8103. parameters:
  8104. - description: 资金账户 - 格式:1,2,3
  8105. in: query
  8106. name: accountID
  8107. required: true
  8108. type: string
  8109. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8110. in: query
  8111. name: startDate
  8112. type: string
  8113. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8114. in: query
  8115. name: endDate
  8116. type: string
  8117. produces:
  8118. - application/json
  8119. responses:
  8120. "200":
  8121. description: OK
  8122. schema:
  8123. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  8124. "500":
  8125. description: Internal Server Error
  8126. schema:
  8127. $ref: '#/definitions/app.Response'
  8128. security:
  8129. - ApiKeyAuth: []
  8130. summary: 交易系统转换流水查询
  8131. tags:
  8132. - 定制【尚志大宗】
  8133. /SZDZ/QueryGoodsPickup:
  8134. get:
  8135. parameters:
  8136. - description: 资金账户 - 格式:1,2,3
  8137. in: query
  8138. name: accountID
  8139. required: true
  8140. type: string
  8141. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8142. in: query
  8143. name: takeOrderStatus
  8144. type: integer
  8145. produces:
  8146. - application/json
  8147. responses:
  8148. "200":
  8149. description: OK
  8150. schema:
  8151. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  8152. "500":
  8153. description: Internal Server Error
  8154. schema:
  8155. $ref: '#/definitions/app.Response'
  8156. security:
  8157. - ApiKeyAuth: []
  8158. summary: 商品提货单查询
  8159. tags:
  8160. - 定制【尚志大宗】
  8161. /SZDZ/QueryRecieptOrder:
  8162. get:
  8163. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8164. parameters:
  8165. - description: 页码
  8166. in: query
  8167. name: page
  8168. type: integer
  8169. - description: 每页条数
  8170. in: query
  8171. name: pagesize
  8172. type: integer
  8173. - description: 商品ID
  8174. in: query
  8175. name: goodsID
  8176. required: true
  8177. type: integer
  8178. - description: 所属账户名称
  8179. in: query
  8180. name: accountName
  8181. type: string
  8182. - description: 市场ID
  8183. in: query
  8184. name: marketID
  8185. type: integer
  8186. - description: 方向 - 0:买 1:卖
  8187. in: query
  8188. name: buyorsell
  8189. required: true
  8190. type: integer
  8191. produces:
  8192. - application/json
  8193. responses:
  8194. "200":
  8195. description: OK
  8196. schema:
  8197. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  8198. "500":
  8199. description: Internal Server Error
  8200. schema:
  8201. $ref: '#/definitions/app.Response'
  8202. security:
  8203. - ApiKeyAuth: []
  8204. summary: 点选挂牌委托单据查询(摘牌大厅)
  8205. tags:
  8206. - 定制【尚志大宗】
  8207. /SZDZ/QuerySZDZTradePosition:
  8208. get:
  8209. parameters:
  8210. - description: 资金账户
  8211. in: query
  8212. name: accountID
  8213. required: true
  8214. type: integer
  8215. produces:
  8216. - application/json
  8217. responses:
  8218. "200":
  8219. description: OK
  8220. schema:
  8221. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  8222. "500":
  8223. description: Internal Server Error
  8224. schema:
  8225. $ref: '#/definitions/app.Response'
  8226. security:
  8227. - ApiKeyAuth: []
  8228. summary: 持仓汇总查询(尚志大宗)
  8229. tags:
  8230. - 定制【尚志大宗】
  8231. /SZDZ/SearchWhite:
  8232. get:
  8233. parameters:
  8234. - description: 用户ID
  8235. in: query
  8236. name: userID
  8237. required: true
  8238. type: integer
  8239. produces:
  8240. - application/json
  8241. responses:
  8242. "200":
  8243. description: OK
  8244. schema:
  8245. $ref: '#/definitions/models.Szdz3searchwhitelist'
  8246. "500":
  8247. description: Internal Server Error
  8248. schema:
  8249. $ref: '#/definitions/app.Response'
  8250. security:
  8251. - ApiKeyAuth: []
  8252. summary: 搜索白名单
  8253. tags:
  8254. - 定制【尚志大宗】
  8255. /Search/SearchGoodses:
  8256. get:
  8257. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  8258. parameters:
  8259. - description: 检索内容
  8260. in: query
  8261. name: content
  8262. required: true
  8263. type: string
  8264. - description: 交易模式,格式:1,2,3
  8265. in: query
  8266. name: tradeModes
  8267. type: string
  8268. produces:
  8269. - application/json
  8270. responses:
  8271. "200":
  8272. description: OK
  8273. schema:
  8274. $ref: '#/definitions/models.SearchGoods'
  8275. "500":
  8276. description: Internal Server Error
  8277. schema:
  8278. $ref: '#/definitions/app.Response'
  8279. summary: 检索商品信息
  8280. tags:
  8281. - 检索服务
  8282. /TaAccount/QueryAmountLog:
  8283. get:
  8284. parameters:
  8285. - description: 页码
  8286. in: query
  8287. name: page
  8288. type: integer
  8289. - description: 每页条数
  8290. in: query
  8291. name: pagesize
  8292. type: integer
  8293. - description: 资金账户 - 格式:1,2,3
  8294. in: query
  8295. name: accountID
  8296. required: true
  8297. type: string
  8298. - description: 资金操作类型 - 格式:1,2,3
  8299. in: query
  8300. name: OperateType
  8301. type: string
  8302. produces:
  8303. - application/json
  8304. responses:
  8305. "200":
  8306. description: OK
  8307. schema:
  8308. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  8309. "500":
  8310. description: Internal Server Error
  8311. schema:
  8312. $ref: '#/definitions/app.Response'
  8313. security:
  8314. - ApiKeyAuth: []
  8315. summary: 资金流水查询(当前)
  8316. tags:
  8317. - 资金账户
  8318. /TaAccount/QueryHisAmountLog:
  8319. get:
  8320. parameters:
  8321. - description: 页码
  8322. in: query
  8323. name: page
  8324. type: integer
  8325. - description: 每页条数
  8326. in: query
  8327. name: pagesize
  8328. type: integer
  8329. - description: 资金账户 - 格式:1,2,3
  8330. in: query
  8331. name: accountID
  8332. required: true
  8333. type: string
  8334. - description: 资金操作类型 - 格式:1,2,3
  8335. in: query
  8336. name: OperateType
  8337. type: string
  8338. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8339. in: query
  8340. name: startDate
  8341. type: string
  8342. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8343. in: query
  8344. name: endDate
  8345. type: string
  8346. produces:
  8347. - application/json
  8348. responses:
  8349. "200":
  8350. description: OK
  8351. schema:
  8352. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  8353. "500":
  8354. description: Internal Server Error
  8355. schema:
  8356. $ref: '#/definitions/app.Response'
  8357. security:
  8358. - ApiKeyAuth: []
  8359. summary: 资金流水查询(历史)
  8360. tags:
  8361. - 资金账户
  8362. /Trade/QueryRecieptOrder:
  8363. get:
  8364. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8365. parameters:
  8366. - description: 页码
  8367. in: query
  8368. name: page
  8369. type: integer
  8370. - description: 每页条数
  8371. in: query
  8372. name: pagesize
  8373. type: integer
  8374. - description: 商品ID
  8375. in: query
  8376. name: goodsID
  8377. required: true
  8378. type: integer
  8379. - description: 所属账户名称
  8380. in: query
  8381. name: accountName
  8382. type: string
  8383. - description: 市场ID
  8384. in: query
  8385. name: marketID
  8386. type: integer
  8387. - description: 方向 - 0:买 1:卖
  8388. in: query
  8389. name: buyorsell
  8390. required: true
  8391. type: integer
  8392. produces:
  8393. - application/json
  8394. responses:
  8395. "200":
  8396. description: OK
  8397. schema:
  8398. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  8399. "500":
  8400. description: Internal Server Error
  8401. schema:
  8402. $ref: '#/definitions/app.Response'
  8403. security:
  8404. - ApiKeyAuth: []
  8405. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  8406. tags:
  8407. - 通用交易
  8408. /User/AddMessageBoard:
  8409. post:
  8410. parameters:
  8411. - description: 用户ID
  8412. in: query
  8413. name: userID
  8414. required: true
  8415. type: integer
  8416. - description: 留言信息
  8417. in: query
  8418. name: message
  8419. required: true
  8420. type: string
  8421. produces:
  8422. - application/json
  8423. responses:
  8424. "200":
  8425. description: OK
  8426. schema:
  8427. $ref: '#/definitions/app.Response'
  8428. "500":
  8429. description: Internal Server Error
  8430. schema:
  8431. $ref: '#/definitions/app.Response'
  8432. security:
  8433. - ApiKeyAuth: []
  8434. summary: 添加用户留言板信息
  8435. tags:
  8436. - 用户信息
  8437. /User/AddUserFavoriteGoods:
  8438. post:
  8439. parameters:
  8440. - description: 用户ID
  8441. in: query
  8442. name: userID
  8443. required: true
  8444. type: integer
  8445. - description: 商品ID
  8446. in: query
  8447. name: goodsID
  8448. required: true
  8449. type: integer
  8450. produces:
  8451. - application/json
  8452. responses:
  8453. "200":
  8454. description: OK
  8455. schema:
  8456. $ref: '#/definitions/app.Response'
  8457. "500":
  8458. description: Internal Server Error
  8459. schema:
  8460. $ref: '#/definitions/app.Response'
  8461. security:
  8462. - ApiKeyAuth: []
  8463. summary: 添加用户商品收藏信息
  8464. tags:
  8465. - 用户信息
  8466. /User/GetLoginID:
  8467. get:
  8468. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  8469. parameters:
  8470. - description: 登录代码
  8471. in: query
  8472. name: username
  8473. required: true
  8474. type: string
  8475. produces:
  8476. - application/json
  8477. responses:
  8478. "200":
  8479. description: OK
  8480. schema:
  8481. $ref: '#/definitions/app.Response'
  8482. "500":
  8483. description: Internal Server Error
  8484. schema:
  8485. $ref: '#/definitions/app.Response'
  8486. summary: 获取登录ID
  8487. tags:
  8488. - 用户信息
  8489. /User/GetUserAccount:
  8490. get:
  8491. parameters:
  8492. - description: 用户ID
  8493. in: query
  8494. name: userID
  8495. required: true
  8496. type: integer
  8497. produces:
  8498. - application/json
  8499. responses:
  8500. "200":
  8501. description: OK
  8502. schema:
  8503. $ref: '#/definitions/models.Useraccount'
  8504. "500":
  8505. description: Internal Server Error
  8506. schema:
  8507. $ref: '#/definitions/app.Response'
  8508. security:
  8509. - ApiKeyAuth: []
  8510. summary: 获取用户账号信息
  8511. tags:
  8512. - 用户信息
  8513. /User/GetUserAuthStatus:
  8514. get:
  8515. parameters:
  8516. - description: 用户ID
  8517. in: query
  8518. name: userID
  8519. required: true
  8520. type: integer
  8521. produces:
  8522. - application/json
  8523. responses:
  8524. "200":
  8525. description: OK
  8526. schema:
  8527. $ref: '#/definitions/app.Response'
  8528. "500":
  8529. description: Internal Server Error
  8530. schema:
  8531. $ref: '#/definitions/app.Response'
  8532. security:
  8533. - ApiKeyAuth: []
  8534. summary: 获取用户实名认证状态
  8535. tags:
  8536. - 用户信息
  8537. /User/QueryMessageBoard:
  8538. get:
  8539. parameters:
  8540. - description: 用户ID
  8541. in: query
  8542. name: userID
  8543. required: true
  8544. type: integer
  8545. produces:
  8546. - application/json
  8547. responses:
  8548. "200":
  8549. description: OK
  8550. schema:
  8551. $ref: '#/definitions/models.Messageboard'
  8552. "500":
  8553. description: Internal Server Error
  8554. schema:
  8555. $ref: '#/definitions/app.Response'
  8556. security:
  8557. - ApiKeyAuth: []
  8558. summary: 获取用户留言板信息
  8559. tags:
  8560. - 用户信息
  8561. /User/QueryUserFavoriteGoodses:
  8562. get:
  8563. parameters:
  8564. - description: 用户ID
  8565. in: query
  8566. name: userID
  8567. required: true
  8568. type: integer
  8569. produces:
  8570. - application/json
  8571. responses:
  8572. "200":
  8573. description: OK
  8574. schema:
  8575. $ref: '#/definitions/models.Userfavoritegoods'
  8576. "500":
  8577. description: Internal Server Error
  8578. schema:
  8579. $ref: '#/definitions/app.Response'
  8580. security:
  8581. - ApiKeyAuth: []
  8582. summary: 获取用户商品收藏信息
  8583. tags:
  8584. - 用户信息
  8585. /User/QueryUserInfo:
  8586. get:
  8587. parameters:
  8588. - description: 用户ID
  8589. in: query
  8590. name: userID
  8591. required: true
  8592. type: integer
  8593. produces:
  8594. - application/json
  8595. responses:
  8596. "200":
  8597. description: OK
  8598. schema:
  8599. $ref: '#/definitions/models.Userinfo'
  8600. "500":
  8601. description: Internal Server Error
  8602. schema:
  8603. $ref: '#/definitions/app.Response'
  8604. security:
  8605. - ApiKeyAuth: []
  8606. summary: 获取用户信息
  8607. tags:
  8608. - 用户信息
  8609. /User/QueryUserReferNum:
  8610. get:
  8611. parameters:
  8612. - description: 用户ID
  8613. in: query
  8614. name: userID
  8615. required: true
  8616. type: integer
  8617. produces:
  8618. - application/json
  8619. responses:
  8620. "200":
  8621. description: OK
  8622. schema:
  8623. $ref: '#/definitions/app.Response'
  8624. "500":
  8625. description: Internal Server Error
  8626. schema:
  8627. $ref: '#/definitions/app.Response'
  8628. summary: 获取用户邀请码
  8629. tags:
  8630. - 用户信息
  8631. /User/RemoveUserFavoriteGoods:
  8632. post:
  8633. parameters:
  8634. - description: 用户ID
  8635. in: query
  8636. name: userID
  8637. required: true
  8638. type: integer
  8639. - description: 商品ID
  8640. in: query
  8641. name: goodsID
  8642. required: true
  8643. type: integer
  8644. produces:
  8645. - application/json
  8646. responses:
  8647. "200":
  8648. description: OK
  8649. schema:
  8650. $ref: '#/definitions/app.Response'
  8651. "500":
  8652. description: Internal Server Error
  8653. schema:
  8654. $ref: '#/definitions/app.Response'
  8655. security:
  8656. - ApiKeyAuth: []
  8657. summary: 移除用户商品收藏信息
  8658. tags:
  8659. - 用户信息
  8660. /WR/GetWRCategoryInfo:
  8661. get:
  8662. produces:
  8663. - application/json
  8664. responses:
  8665. "200":
  8666. description: OK
  8667. schema:
  8668. $ref: '#/definitions/models.WRCategoryTree'
  8669. "500":
  8670. description: Internal Server Error
  8671. schema:
  8672. $ref: '#/definitions/app.Response'
  8673. summary: 获取现货分类信息
  8674. tags:
  8675. - 仓单服务
  8676. /WRTrade/GetAllDeliveryGoods:
  8677. get:
  8678. produces:
  8679. - application/json
  8680. - application/json
  8681. responses:
  8682. "200":
  8683. description: OK
  8684. schema:
  8685. $ref: '#/definitions/app.Response'
  8686. "500":
  8687. description: Internal Server Error
  8688. schema:
  8689. $ref: '#/definitions/app.Response'
  8690. security:
  8691. - ApiKeyAuth: []
  8692. - ApiKeyAuth: []
  8693. summary: 获取带仓单分类的种类信息
  8694. tags:
  8695. - 仓单贸易
  8696. - 仓单贸易
  8697. securityDefinitions:
  8698. ApiKeyAuth:
  8699. in: header
  8700. name: Authorization
  8701. type: apiKey
  8702. swagger: "2.0"